Issue Details (XML | Word | Printable)

Key: OPENEJB-1029
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: David Blevins
Reporter: David Blevins
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
OpenEJB

@EjbDeployment annotation as alternative to <ejb-deployment> in openejb-jar.xml

Created: 26/May/09 03:44 AM   Updated: 26/May/09 03:46 AM
Return to search
Component/s: configuration, deployment
Affects Version/s: None
Fix Version/s: 3.1.1

Time Tracking:
Not Specified

Resolution Date: 26/May/09 03:46 AM


 Description  « Hide
/**
 * Annotation that matches the <ejb-deployment> element in the openejb-jar.xml file
 */
@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
public @interface EjbDeployment {

    /**
     * The Deployment ID for this bean
     * @return
     */
    java.lang.String id() default "";

    /**
     * The Container ID where the bean should be deployed
     * @return
     */
    java.lang.String container() default "";

}



 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Repository Revision Date User Message
ASF #778557 Tue May 26 03:46:24 UTC 2009 dblevins Quick addition as we have an api jar now... can start to add annotations to replace the elements of the openejb-jar.xml file.
OPENEJB-1029: @EjbDeployment annotation as alternative to <ejb-deployment> in openejb-jar.xml
Files Changed
MODIFY /openejb/trunk/openejb3/container/openejb-core/src/main/java/org/apache/openejb/config/InitEjbDeployments.java
ADD /openejb/trunk/openejb3/container/openejb-api/src/main/java/org/apache/openejb/api/EjbDeployment.java

David Blevins added a comment - 26/May/09 03:46 AM
$ svn ci
Adding container/openejb-api/src/main/java/org/apache/openejb/api/EjbDeployment.java
Sending container/openejb-core/src/main/java/org/apache/openejb/config/InitEjbDeployments.java
Transmitting file data ..
Committed revision 778557.


David Blevins made changes - 26/May/09 03:46 AM
Field Original Value New Value
Resolution Fixed [ 1 ]
Status Open [ 1 ] Closed [ 6 ]