From: Vance K. <va...@us...> - 2006-03-02 10:31:29
|
User: vancek Date: 06/03/02 02:30:56 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: declare stereotypes for lifecycle methods Revision Changes Path 1.15 +23 -3 cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/EJB3Profile.java Index: EJB3Profile.java =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/EJB3Profile.java,v retrieving revision 1.14 retrieving revision 1.15 diff -u -w -r1.14 -r1.15 --- EJB3Profile.java 25 Feb 2006 14:47:02 -0000 1.14 +++ EJB3Profile.java 2 Mar 2006 10:30:49 -0000 1.15 @@ -122,17 +122,37 @@ public static final String STEREOTYPE_LOB = profile.get("LOB"); /** - * The tagged value indicating the finder method parameter result type + * The stereotype indicating the finder method parameter result type * is assigned to be the first/index. */ public static final String STEREOTYPE_FINDER_RESULT_TYPE_FIRST = profile.get("RESULT_TYPE_FIRST"); /** - * The tagged value indicating the finder method parameter result type + * The stereotype indicating the finder method parameter result type * is assigned to be the max results to return. */ public static final String STEREOTYPE_FINDER_RESULT_TYPE_MAX = profile.get("RESULT_TYPE_MAX"); + /** + * Specifies the operation as a post-construct callback + */ + public static final String STEREOTYPE_POST_CONSTRUCT = profile.get("POST_CONSTRUCT"); + + /** + * Specifies the operation as a pre-destroy callback + */ + public static final String STEREOTYPE_PRE_DESTROY = profile.get("PRE_DESTROY"); + + /** + * Specifies the operation as a post-activate callback + */ + public static final String STEREOTYPE_POST_ACTIVATE = profile.get("POST_ACTIVATE"); + + /** + * Specifies the operation as a pre-passivate callback + */ + public static final String STEREOTYPE_PRE_PASSIVATE = profile.get("PRE_PASSIVATE"); + /* ----------------- Tagged Values -------------------- */ /** |