From: Vance K. <va...@us...> - 2006-06-14 04:56:58
|
User: vancek Date: 06/06/13 21:56:57 Modified: andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java EJB3Globals.java Log: added initial JBoss Seam support Revision Changes Path 1.25 +59 -0 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.24 retrieving revision 1.25 diff -u -w -r1.24 -r1.25 --- EJB3Profile.java 3 Jun 2006 15:36:47 -0000 1.24 +++ EJB3Profile.java 14 Jun 2006 04:56:57 -0000 1.25 @@ -178,6 +178,43 @@ */ public static final String STEREOTYPE_POST_LOAD = profile.get("POST_LOAD"); + /** + * Specifies the bean is a Seam component + */ + public static final String STEREOTYPE_SEAM_COMPONENT = profile.get("SEAM_COMPONENT"); + + /** + * Specifies the bean attribute is a component attribute to be injected from a context variable + */ + public static final String STEREOTYPE_SEAM_COMPONENT_IN = profile.get("SEAM_COMPONENT_IN"); + + /** + * Specifies the bean attribute is a component attribute to be outjected from a context variable + */ + public static final String STEREOTYPE_SEAM_COMPONENT_OUT = profile.get("SEAM_COMPONENT_OUT"); + + /** + * Specifies the bean operation is a Seam Create lifecycle operation + */ + public static final String STEREOTYPE_SEAM_LIFECYCLE_CREATE = profile.get("SEAM_LIFECYCLE_CREATE"); + + /** + * Specifies the bean operation is a Seam Destroy lifecycle operation + */ + public static final String STEREOTYPE_SEAM_LIFECYCLE_DESTROY = profile.get("SEAM_LIFECYCLE_DESTROY"); + + /** + * Specifies the bean component attribute must be validated before the action listener + * Seam component method is invoked + */ + public static final String STEREOTYPE_SEAM_VALIDATION_VALID = profile.get("SEAM_VALIDATION_VALID"); + + /** + * Specifies the bean component operation requires validation of the components before + * being invoked + */ + public static final String STEREOTYPE_SEAM_VALIDATION_VALIDATOR = profile.get("SEAM_VALIDATION_VALIDATOR"); + /* ----------------- Tagged Values -------------------- */ /** @@ -526,4 +563,26 @@ */ public static final String TAGGEDVALUE_WEBSERVICE_OPERATION_RESULT_NAME = profile.get("WEBSERVICE_OPERATION_RESULT_NAME"); + + /** + * Defines the JBoss Seam component scope type + */ + public static final String TAGGEDVALUE_SEAM_SCOPE_TYPE = profile.get("SEAM_COMPONENT_SCOPE_TYPE"); + + /** + * Defines the Seam component name + */ + public static final String TAGGEDVALUE_SEAM_COMPONENT_NAME = profile.get("SEAM_COMPONENT_NAME"); + + /** + * Defines the JSF outcome when validation fails + */ + public static final String TAGGEDVALUE_SEAM_VALIDATION_OUTCOME = profile.get("SEAM_VALIDATION_OUTCOME"); + + /** + * Defines whether invalid entities in the managed state should be refreshed from the + * database when validation fails. + */ + public static final String TAGGEDVALUE_SEAM_VALIDATION_REFRESH_ENTITIES = + profile.get("SEAM_VALIDATION_REFRESH_ENTITIES"); } \ No newline at end of file 1.12 +10 -0 cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/EJB3Globals.java Index: EJB3Globals.java =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/EJB3Globals.java,v retrieving revision 1.11 retrieving revision 1.12 diff -u -w -r1.11 -r1.12 --- EJB3Globals.java 15 May 2006 12:30:17 -0000 1.11 +++ EJB3Globals.java 14 Jun 2006 04:56:57 -0000 1.12 @@ -246,4 +246,14 @@ * The property used to specify whether to enable query cache. */ public static final String HIBERNATE_USER_QUERY_CACHE = "hibernateUseQueryCache"; + + /** + * Seam component scope type STATELESS + */ + public static final String SEAM_COMPONENT_SCOPE_STATELESS = "STATELESS"; + + /** + * Seam component scope type CONVERSATION + */ + public static final String SEAM_COMPONENT_SCOPE_CONVERSATION = "CONVERSATION"; } |