From: Vance K. <va...@us...> - 2006-01-03 01:13:11
|
User: vancek Date: 06/01/02 17:13:04 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added container and security properties, entity/service properties and fixed transaction type property values Revision Changes Path 1.2 +52 -7 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- namespace.xml 28 Dec 2005 00:32:56 -0000 1.1 +++ namespace.xml 3 Jan 2006 01:13:03 -0000 1.2 @@ -125,6 +125,19 @@ </property> </propertyGroup> <propertyGroup name="Other Properties"> + <property name="persistenceContainerName"> + <default>jboss</default> + <documentation> + The default persistence container engine name. + Used when specifying specific annotations + for different persistence containers. + Possible values are: + <ul> + <li>jboss</li> + <li>weblogic</li> + </ul> + </documentation> + </property> <property name="entityAccessType"> <default>PROPERTY</default> <documentation> @@ -284,6 +297,14 @@ always exist. </documentation> </property> + <property name="securityDomain"> + <default>Default</default> + <documentation> + Specifies the default security domain to use + for role based authorization. JBoss uses the + security model to match allowed roles. + </documentation> + </property> <property name="queryUseNamedParameters"> <default>true</default> <documentation> @@ -301,18 +322,42 @@ <property name="valueObjectName"> <default>{0}</default> </property> + <property name="entityViewType"> + <default>local</default> + <documentation> + The default view type accessability for an entity POJO bean. + <ul> + Permitted values are: + <li>local</li> + <li>remote</li> + <li>both</li> + </ul> + </documentation> + </property> + <property name="serviceViewType"> + <default>remote</default> + <documentation> + The default view type accessability for a session bean. + <ul> + Permitted values are: + <li>local</li> + <li>remote</li> + <li>both</li> + </ul> + </documentation> + </property> <property name="transactionType"> - <default>Required</default> + <default>REQUIRED</default> <documentation> The default value to use for transaction types. <ul> Permitted values are: - <li>NotSupported</li> - <li>Supports</li> - <li>Required</li> - <li>RequiresNew</li> - <li>Mandatory</li> - <li>Never</li> + <li>NOT_SUPPORTED</li> + <li>SUPPORTS</li> + <li>REQUIRED</li> + <li>REQUIRES_NEW</li> + <li>MANDATORY</li> + <li>NEVER</li> </ul> <strong>NOTE:</strong> Can be overridden on a per entity basis with the |
From: Vance K. <va...@us...> - 2006-01-04 06:12:26
|
User: vancek Date: 06/01/03 22:12:19 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added new entity-config outlet property, JDBC property group and Cache property group Revision Changes Path 1.3 +75 -4 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- namespace.xml 3 Jan 2006 01:13:03 -0000 1.2 +++ namespace.xml 4 Jan 2006 06:12:19 -0000 1.3 @@ -20,15 +20,21 @@ </documentation> <property name="entity-beans"> <documentation> - The directory to which Entity EJBs are generated. + The directory to which Entity POJOs are generated. </documentation> </property> <property name="entity-impls"> <documentation> - The location to which Entity EJB implementation + The location to which Entity POJO implementation files are generated. </documentation> </property> + <property name="entity-config"> + <documentation> + The location where the persistence XML descriptor + is generated. + </documentation> + </property> <property name="session-beans"> <documentation> The directory to which Session Bean files are @@ -42,6 +48,71 @@ </documentation> </property> </propertyGroup> + <propertyGroup name="JDBC"> + <property name="entityManagerName" required="false"> + <documentation> + The name assigned to the entity manager. If no name + is specified, the name of the containing persistence + archive without the .par extension is used. + </documentation> + </property> + <property name="entityManagerJTADataSource"> + <default>java:/DefaultDS</default> + <documentation> + Specifies the global JNDI name of the JTA data source. + </documentation> + </property> + <property name="hibernateHbm2DDLAuto" required="false"> + <default>create</default> + <documentation> + Automatically export schema DDL to the database when deployed. + With create-drop, the database schema will be dropped when + the entity is undeployed. Permitted values are: + <ul> + <li>update</li> + <li>create</li> + <li>create-drop</li> + <li>none</li> + </ul> + </documentation> + </property> + <property name="hibernateDialect" required="false"> + <default>org.hibernate.dialect.MySQLDialect</default> + <documentation> + The SQL dialect of the database. + <ul> + <li>org.hibernate.dialect.MySQLDialect</li> + <li>org.hibernate.dialect.HSQLDialect</li> + </ul> + </documentation> + </property> + <property name="hibernateShowSql" required="false"> + <documentation> + Whether or not to log SQL statements. + </documentation> + </property> + </propertyGroup> + <propertyGroup name="Cache"> + <property name="hibernateCacheProvider" required="false"> + <documentation> + Defines Hibernate Cache Provider implementation class. + Possible values for JBoss4/Hibernate are: + <ul> + <li>org.hibernate.cache.HashtableCacheProvider</li> + <li>org.jboss.ejb3.entity.TreeCacheProviderHook</li> + </ul> + </documentation> + </property> + <property name="hibernateTreecacheMbeanObject" required="false"> + <documentation> + Defines the Hibernate cache MBean object name + used in JBoss4. + <ul> + <li>jboss.cache:service=EJB3EntityTreeCache</li> + </ul> + </documentation> + </property> + </propertyGroup> <propertyGroup name="Name Patterns"> <property name="entityNamePattern"> <default>{0}</default> @@ -301,8 +372,8 @@ <default>Default</default> <documentation> Specifies the default security domain to use - for role based authorization. JBoss uses the - security model to match allowed roles. + for role based authorization. Use the + security realm to match allowed roles. </documentation> </property> <property name="queryUseNamedParameters"> |
From: Vance K. <va...@us...> - 2006-01-17 03:24:14
|
User: vancek Date: 06/01/16 19:24:09 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added session-config and interceptor outlet properties, hibernate JDBC and transaction properties, changed securityDomain property to securityRealm, added entityGenericFinders property Revision Changes Path 1.6 +107 -5 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.5 retrieving revision 1.6 diff -u -w -r1.5 -r1.6 --- namespace.xml 10 Jan 2006 08:14:12 -0000 1.5 +++ namespace.xml 17 Jan 2006 03:24:09 -0000 1.6 @@ -53,6 +53,12 @@ files are generated. </documentation> </property> + <property name="session-config"> + <documentation> + The location where the ejb-jar.xml XML descriptor + is generated. + </documentation> + </property> <property name="message-driven-beans"> <documentation> The directory to which Message Driven Bean files @@ -65,6 +71,13 @@ implementation files are generated. </documentation> </property> + <property name="interceptor"> + <documentation> + The directory to which interceptor classes + for session beans or message driven beans + are generated. + </documentation> + </property> </propertyGroup> <propertyGroup name="JDBC"> <property name="entityManagerName" required="false"> @@ -100,7 +113,23 @@ The SQL dialect of the database. <ul> <li>org.hibernate.dialect.MySQLDialect</li> + <li>org.hibernate.dialect.MySQLInnoDBDialect</li> + <li>org.hibernate.dialect.MySQLMyISAMDialect</li> <li>org.hibernate.dialect.HSQLDialect</li> + <li>org.hibernate.dialect.PostgreSQLDialect</li> + <li>org.hibernate.dialect.DB2Dialect</li> + <li>org.hibernate.dialect.OracleDialect</li> + <li>org.hibernate.dialect.Oracle9Dialect</li> + <li>org.hibernate.dialect.SybaseDialect</li> + <li>org.hibernate.dialect.SQLServerDialect</li> + <li>org.hibernate.dialect.SAPDBDialect</li> + <li>org.hibernate.dialect.InformixDialect</li> + <li>org.hibernate.dialect.IngresDialect</li> + <li>org.hibernate.dialect.ProgressDialect</li> + <li>org.hibernate.dialect.InterbaseDialect</li> + <li>org.hibernate.dialect.PointbaseDialect</li> + <li>org.hibernate.dialect.FrontbaseDialect</li> + <li>org.hibernate.dialect.FirebirdDialect</li> </ul> </documentation> </property> @@ -109,6 +138,34 @@ Whether or not to log SQL statements. </documentation> </property> + <property name="hibernateMaxFetchDepth" required="false"> + <documentation> + Sets a maximum "depth" for the outer join fetch tree. Recommended values between 0 and 3 + </documentation> + </property> + <property name="hibernateJdbcFetchSize" required="false"> + <documentation> + A non-zero value determines the JDBC fetch size + </documentation> + </property> + <property name="hibernateJdbcBatchSize" required="false"> + <documentation> + A nonzero value enables use of JDBC2 batch updates by Hibernate. + Recommended values between 5 and 30 + </documentation> + </property> + <property name="hibernateJdbcUseScrollableResultSet" required="false"> + <documentation> + Whether or not to enable use of JDBC2 scrollable resultsets by Hibernate. + This property is only necessary when using user supplied connections. + Hibernate uses connection metadata otherwise. + </documentation> + </property> + <property name="hibernateJdbcUseStreamsForBinary" required="false"> + <documentation> + Whether or not to use streams when writing / reading binary or serializable types to/from JDBC. + </documentation> + </property> </propertyGroup> <propertyGroup name="Cache"> <property name="hibernateCacheProvider" required="false"> @@ -131,6 +188,32 @@ </documentation> </property> </propertyGroup> + <propertyGroup name="Transactions"> + <property name="hibernateTransactionFlushBeforeCompletion" required="false"> + <documentation> + Define if the session will automatically be flushed + during the before completion phase of the + transaction. Handy options for CMT demarcation. + Possible values are: + <ul> + <li>true</li> + <li>false</li> + </ul> + </documentation> + </property> + <property name="hibernateTransactionAutoCloseSession" required="false"> + <documentation> + Define if the session will be automatically closed + during the after completion phase of the transaction. + Handy option when using CMT demarcation. + Possible values are: + <ul> + <li>true</li> + <li>false</li> + </ul> + </documentation> + </property> + </propertyGroup> <propertyGroup name="Name Patterns"> <property name="entityNamePattern"> <default>{0}</default> @@ -233,6 +316,13 @@ bean implementation class name. </documentation> </property> + <property name="interceptorNamePattern"> + <default>{0}</default> + <documentation> + The pattern to use when constructing the interceptor + class name. + </documentation> + </property> <property name="jndiNamePrefix" required="false"> <documentation> The prefix to give to the EJB JNDI names (this @@ -326,8 +416,7 @@ </ul> </documentation> </property> - <property name="entityAggergationCascade" - required="false"> + <property name="entityAggergationCascade" required="false"> <documentation> Indicates how a UML aggreation should be interpreted to determine cascadable operations that are @@ -427,12 +516,12 @@ always exist. </documentation> </property> - <property name="securityDomain"> - <default>Default</default> + <property name="securityRealm" required="false"> <documentation> - Specifies the default security domain to use + Specifies the security domain to use for role based authorization. Use the security realm to match allowed roles. + This is only applicable for session beans. </documentation> </property> <property name="queryUseNamedParameters"> @@ -446,6 +535,19 @@ Does not apply to queries written in OCL. </documentation> </property> + <property name="entityGenericFinders"> + <default>true</default> + <documentation> + Specifies whether to include the generic finder + property. Generic finders in the entity bean include + findByPrimaryKey and findAll. + Permitted values are: + <ul> + <li>true</li> + <li>false</li> + </ul> + </documentation> + </property> <property name="valueObjectPackage"> <default>{0}</default> </property> |
From: Vance K. <va...@us...> - 2006-01-18 08:55:13
|
User: vancek Date: 06/01/18 00:55:08 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added entityCompositePrimaryKeyNamePattern and persistenceContextUnitName properties Revision Changes Path 1.7 +14 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.6 retrieving revision 1.7 diff -u -w -r1.6 -r1.7 --- namespace.xml 17 Jan 2006 03:24:09 -0000 1.6 +++ namespace.xml 18 Jan 2006 08:55:07 -0000 1.7 @@ -323,6 +323,13 @@ class name. </documentation> </property> + <property name="entityCompositePrimaryKeyNamePattern"> + <default>{0}PK</default> + <documentation> + The pattern to use when constructing the composite + primary key class name. + </documentation> + </property> <property name="jndiNamePrefix" required="false"> <documentation> The prefix to give to the EJB JNDI names (this @@ -358,6 +365,13 @@ </ul> </documentation> </property> + <property name="persistenceContextUnitName" required="false"> + <documentation> + Specifies the default persistence context + unit name associated with the default Entity + Manager. + </documentation> + </property> <property name="entityAccessType"> <default>PROPERTY</default> <documentation> |
From: Vance K. <va...@us...> - 2006-01-25 02:54:16
|
User: vancek Date: 06/01/24 18:54:09 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added enumerations outlet, renamed outlet interceptors, added entityDefaultEnumLiteralColumnLength property Revision Changes Path 1.8 +27 -14 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.7 retrieving revision 1.8 diff -u -w -r1.7 -r1.8 --- namespace.xml 18 Jan 2006 08:55:07 -0000 1.7 +++ namespace.xml 25 Jan 2006 02:54:09 -0000 1.8 @@ -71,13 +71,19 @@ implementation files are generated. </documentation> </property> - <property name="interceptor"> + <property name="interceptors"> <documentation> The directory to which interceptor classes for session beans or message driven beans are generated. </documentation> </property> + <property name="enumerations"> + <documentation> + The directory to which entity JDK 1.5 + enumerations are generated. + </documentation> + </property> </propertyGroup> <propertyGroup name="JDBC"> <property name="entityManagerName" required="false"> @@ -530,6 +536,26 @@ always exist. </documentation> </property> + <property name="entityGenericFinders"> + <default>true</default> + <documentation> + Specifies whether to include the generic finder + property. Generic finders in the entity bean include + findByPrimaryKey and findAll. + Permitted values are: + <ul> + <li>true</li> + <li>false</li> + </ul> + </documentation> + </property> + <property name="entityDefaultEnumLiteralColumnLength"> + <default>20</default> + <documentation> + The default column length specified for the + storage of a string based enumeration literal. + </documentation> + </property> <property name="securityRealm" required="false"> <documentation> Specifies the security domain to use @@ -549,19 +575,6 @@ Does not apply to queries written in OCL. </documentation> </property> - <property name="entityGenericFinders"> - <default>true</default> - <documentation> - Specifies whether to include the generic finder - property. Generic finders in the entity bean include - findByPrimaryKey and findAll. - Permitted values are: - <ul> - <li>true</li> - <li>false</li> - </ul> - </documentation> - </property> <property name="valueObjectPackage"> <default>{0}</default> </property> |
From: Vance K. <va...@us...> - 2006-01-26 07:01:20
|
User: vancek Date: 06/01/25 23:01:13 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added specificCollectionInterfaces, defaultCollectionInterfaces and associationCollectionType property elements Revision Changes Path 1.9 +25 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -w -r1.8 -r1.9 --- namespace.xml 25 Jan 2006 02:54:09 -0000 1.8 +++ namespace.xml 26 Jan 2006 07:01:12 -0000 1.9 @@ -556,6 +556,31 @@ storage of a string based enumeration literal. </documentation> </property> + <property name="specificCollectionInterfaces"> + <default>false</default> + <documentation> + A flag indicating whether or not specific collection interfaces will be used + in association end mutators and accessors (i.e. java.util.Set, java.util.List, etc). + If this is set to false, then the value of the + <a href="#defaultCollectionInterface">defaultCollectionInterface</a> + property will used to provide the collection interface. + </documentation> + </property> + <property name="defaultCollectionInterface"> + <default>java.util.Collection</default> + <documentation> + The default collection interface, this is the interface used with association end + accessors and mutators if the + <a href="#specificCollectionInterfaces">specificCollectionInterfaces</a> + flag is set to <code>false</code>. + </documentation> + </property> + <property name="associationCollectionType"> + <default>set</default> + <documentation> + Used to define the default mapping for EJB3 collections. + </documentation> + </property> <property name="securityRealm" required="false"> <documentation> Specifies the security domain to use |
From: Vance K. <va...@us...> - 2006-01-28 03:10:43
|
User: vancek Date: 06/01/27 19:10:37 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: replaced interceptors & enumerations outlet properties with commons property definition, added serviceImplementationOperationNamePatter & defaultServiceExceptionNamePattern properties, removed entityDefaultAssociationOptional property, moved entity related properties into entity propery group, moved service related properties to service property group, added paramterRequiredCheck & xmlEncoding & allowDefaultServiceException properties into the other property group. Revision Changes Path 1.10 +92 -67 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.9 retrieving revision 1.10 diff -u -w -r1.9 -r1.10 --- namespace.xml 26 Jan 2006 07:01:12 -0000 1.9 +++ namespace.xml 28 Jan 2006 03:10:37 -0000 1.10 @@ -71,17 +71,11 @@ implementation files are generated. </documentation> </property> - <property name="interceptors"> + <property name="commons"> <documentation> - The directory to which interceptor classes - for session beans or message driven beans - are generated. - </documentation> - </property> - <property name="enumerations"> - <documentation> - The directory to which entity JDK 1.5 - enumerations are generated. + The directory to which common classes + for session beans, entity POJOs or MDB + are generated </documentation> </property> </propertyGroup> @@ -301,6 +295,22 @@ bean delegate class name. </documentation> </property> + <property name="serviceImplementationOperationNamePattern"> + <default>handle{0}</default> + <documentation> + The pattern used to the create the implementation operation name + (i.e. the operations that actually perform the handling of the logic), + where <em>{0}</em> represents the operation name. + </documentation> + </property> + <property name="defaultServiceExceptionNamePattern"> + <default>{0}Exception</default> + <documentation> + The pattern to use when constructing the default service exception name. + <strong>NOTE:</strong> This propety is only applicable when + allowDefaultServiceExceptions is <code>true</code>. + </documentation> + </property> <property name="messageDrivenNamePattern"> <default>{0}MDBBean</default> <documentation> @@ -357,27 +367,19 @@ </documentation> </property> </propertyGroup> - <propertyGroup name="Other Properties"> - <property name="persistenceContainerName"> - <default>jboss</default> + <propertyGroup name="Entity Properties"> + <property name="entityViewType"> + <default>local</default> <documentation> - The default persistence container engine name. - Used when specifying specific annotations - for different persistence containers. - Possible values are: + The default view type accessability for an entity POJO bean. <ul> - <li>jboss</li> - <li>weblogic</li> + Permitted values are: + <li>local</li> + <li>remote</li> + <li>both</li> </ul> </documentation> </property> - <property name="persistenceContextUnitName" required="false"> - <documentation> - Specifies the default persistence context - unit name associated with the default Entity - Manager. - </documentation> - </property> <property name="entityAccessType"> <default>PROPERTY</default> <documentation> @@ -526,16 +528,6 @@ if it is required and not specified.. </documentation> </property> - <property name="entityDefaultAssociationOptional"> - <default>true</default> - <documentation> - Default entity association optional attribute for - Many-to-One and One-to-One relationships. Set using - the @andromda.persistence.optional tagged value. If - set to false, then non-null relationships must - always exist. - </documentation> - </property> <property name="entityGenericFinders"> <default>true</default> <documentation> @@ -556,6 +548,48 @@ storage of a string based enumeration literal. </documentation> </property> + </propertyGroup> + <propertyGroup name="Service Properties"> + <property name="serviceViewType"> + <default>remote</default> + <documentation> + The default view type accessability for a session bean. + <ul> + Permitted values are: + <li>local</li> + <li>remote</li> + <li>both</li> + </ul> + </documentation> + </property> + <property name="serviceLocatorName"> + <default>ServiceLocator</default> + <documentation> + The name to give the service locator class. + </documentation> + </property> + </propertyGroup> + <propertyGroup name="Other Properties"> + <property name="persistenceContainerName"> + <default>jboss</default> + <documentation> + The default persistence container engine name. + Used when specifying specific annotations + for different persistence containers. + Possible values are: + <ul> + <li>jboss</li> + <li>weblogic</li> + </ul> + </documentation> + </property> + <property name="persistenceContextUnitName" required="false"> + <documentation> + Specifies the default persistence context + unit name associated with the default Entity + Manager. + </documentation> + </property> <property name="specificCollectionInterfaces"> <default>false</default> <documentation> @@ -586,7 +620,8 @@ Specifies the security domain to use for role based authorization. Use the security realm to match allowed roles. - This is only applicable for session beans. + This is only applicable for session beans + and MDBs. </documentation> </property> <property name="queryUseNamedParameters"> @@ -606,30 +641,6 @@ <property name="valueObjectName"> <default>{0}</default> </property> - <property name="entityViewType"> - <default>local</default> - <documentation> - The default view type accessability for an entity POJO bean. - <ul> - Permitted values are: - <li>local</li> - <li>remote</li> - <li>both</li> - </ul> - </documentation> - </property> - <property name="serviceViewType"> - <default>remote</default> - <documentation> - The default view type accessability for a session bean. - <ul> - Permitted values are: - <li>local</li> - <li>remote</li> - <li>both</li> - </ul> - </documentation> - </property> <property name="transactionType"> <default>REQUIRED</default> <documentation> @@ -652,18 +663,32 @@ tagged value. </documentation> </property> - <property name="serviceLocatorName"> - <default>ServiceLocator</default> - <documentation> - The name to give the service locator class. - </documentation> - </property> <property name="ejb3TypesPackage"> <default>org.andromda.ejb3</default> <documentation> The package to which extra types are generated (i.e. ServiceLocator). </documentation> </property> + <property name="parameterRequiredCheck"> + <default>true</default> + <documentation> + Whether or not parameters should be checked if they're + required on services bean operation. + </documentation> + </property> + <property name="xmlEncoding"> + <default>UTF-8</default> + <documentation> + The encoding for xml documents + </documentation> + </property> + <property name="allowDefaultServiceException"> + <default>true</default> + <documentation> + Whether or not to generate a default exception for each service. This exception + will handle unexpected exceptions occuring within the implemented operations. + </documentation> + </property> </propertyGroup> </properties> </namespace> \ No newline at end of file |
From: Vance K. <va...@us...> - 2006-02-06 03:26:14
|
User: vancek Date: 06/02/05 19:25:58 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: removed entityAccessType property definition Revision Changes Path 1.12 +0 -15 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -w -r1.11 -r1.12 --- namespace.xml 1 Feb 2006 08:39:45 -0000 1.11 +++ namespace.xml 6 Feb 2006 03:25:58 -0000 1.12 @@ -380,21 +380,6 @@ </ul> </documentation> </property> - <property name="entityAccessType"> - <default>PROPERTY</default> - <documentation> - The value of the - <code>AccessType</code> - element of an annotation of the entity that - determines whether to use properties or fields to - access the entity state. Currenly, AndroMDA support - the PROPERTY value ONLY. Possible values are: - <ul> - <li>PROPERTY</li> - <li>FIELD</li> - </ul> - </documentation> - </property> <property name="entityDefaultCascade"> <default>NONE</default> <documentation> |
From: Vance K. <va...@us...> - 2006-02-13 15:54:10
|
User: vancek Date: 06/02/13 07:54:03 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added manageableServiceBaseNamePattern, manageableCreateExceptionNamePattern, manageableReadExceptionNamePattern, manageableUpdateExceptionNamePattern, manageableDeleteExceptionNamePattern Revision Changes Path 1.13 +42 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -w -r1.12 -r1.13 --- namespace.xml 6 Feb 2006 03:25:58 -0000 1.12 +++ namespace.xml 13 Feb 2006 15:54:02 -0000 1.13 @@ -353,6 +353,41 @@ in the same container) </documentation> </property> + <property name="manageableServiceBaseNamePattern"> + <default>{0}Base</default> + <documentation> + The pattern to use when constructing the + manageable service base name. + </documentation> + </property> + <property name="manageableCreateExceptionNamePattern"> + <default>{0}CreateManageableException</default> + <documentation> + The pattern to use when constructing the create + manageable application exception name. + </documentation> + </property> + <property name="manageableReadExceptionNamePattern"> + <default>{0}ReadManageableException</default> + <documentation> + The pattern to use when constructing the read + manageable application exception name. + </documentation> + </property> + <property name="manageableUpdateExceptionNamePattern"> + <default>{0}UpdateManageableException</default> + <documentation> + The pattern to use when constructing the update + manageable application exception name. + </documentation> + </property> + <property name="manageableDeleteExceptionNamePattern"> + <default>{0}DeleteManageableException</default> + <documentation> + The pattern to use when constructing the update + manageable application exception name. + </documentation> + </property> </propertyGroup> <propertyGroup name="MDB Properties"> <property name="messageDrivenDestinationType"> @@ -681,6 +716,13 @@ will handle unexpected exceptions occuring within the implemented operations. </documentation> </property> + <property name="manageableServiceLocatorName"> + <default>ManageableServiceLocator</default> + <documentation> + The name to give the CRUD manageable service + locator class. + </documentation> + </property> </propertyGroup> </properties> </namespace> \ No newline at end of file |
From: Vance K. <va...@us...> - 2006-02-17 02:35:52
|
User: vancek Date: 06/02/16 18:35:51 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added entityDefaultTemporalType property defining the default value Revision Changes Path 1.14 +16 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -w -r1.13 -r1.14 --- namespace.xml 13 Feb 2006 15:54:02 -0000 1.13 +++ namespace.xml 17 Feb 2006 02:35:51 -0000 1.14 @@ -568,6 +568,22 @@ storage of a string based enumeration literal. </documentation> </property> + <property name="entityDefaultTemporalType"> + <default>TIMESTAMP</default> + <documentation> + Specifies that the persistence property should + be persisted as a temporal type. + This is only specified on fields of type + <code>java.util.Date</code> or + <code>java.util.Calendar</code>. + Possible values are: + <ul> + <li>DATE</li> + <li>TIME</li> + <li>TIMESTAMP</li> + </ul> + </documentation> + </property> </propertyGroup> <propertyGroup name="Service Properties"> <property name="serviceViewType"> |
From: Vance K. <va...@us...> - 2006-02-20 05:16:09
|
User: vancek Date: 06/02/19 21:16:07 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added labelCollectionNamePattern and labelSingleNamePattern properties to name pattern propery group Revision Changes Path 1.15 +15 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -w -r1.14 -r1.15 --- namespace.xml 17 Feb 2006 02:35:51 -0000 1.14 +++ namespace.xml 20 Feb 2006 05:16:06 -0000 1.15 @@ -388,6 +388,21 @@ manageable application exception name. </documentation> </property> + <property name="labelCollectionNamePattern"> + <default>{0}Labels</default> + <documentation> + The pattern to use when defining the display + attribute label name when it's of type Collection. + </documentation> + </property> + <property name="labelSingleNamePattern"> + <default>{0}Label</default> + <documentation> + The pattern to use when defining the display + attribute label name when it's NOT of type + Collection. + </documentation> + </property> </propertyGroup> <propertyGroup name="MDB Properties"> <property name="messageDrivenDestinationType"> |
From: Vance K. <va...@us...> - 2006-02-22 06:15:32
|
User: vancek Date: 06/02/21 22:15:31 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added application-config outlet namespace property Revision Changes Path 1.16 +7 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -w -r1.15 -r1.16 --- namespace.xml 20 Feb 2006 05:16:06 -0000 1.15 +++ namespace.xml 22 Feb 2006 06:15:30 -0000 1.16 @@ -59,6 +59,13 @@ is generated. </documentation> </property> + <property name="application-config"> + <documentation> + The location where the application specific XML + descriptors are generated. i.e the application + login-config.xml descriptor. + </documentation> + </property> <property name="message-driven-beans"> <documentation> The directory to which Message Driven Bean files |
From: Vance K. <va...@us...> - 2006-02-28 02:17:21
|
User: vancek Date: 06/02/27 18:17:20 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: changed hibernate Hbm2DDLAuto default to update added hibernateTransactionManagerLookupClass property to Transaction property group Revision Changes Path 1.17 +16 -3 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -w -r1.16 -r1.17 --- namespace.xml 22 Feb 2006 06:15:30 -0000 1.16 +++ namespace.xml 28 Feb 2006 02:17:20 -0000 1.17 @@ -101,7 +101,7 @@ </documentation> </property> <property name="hibernateHbm2DDLAuto" required="false"> - <default>create</default> + <default>update</default> <documentation> Automatically export schema DDL to the database when deployed. With create-drop, the database schema will be dropped when @@ -147,7 +147,8 @@ </property> <property name="hibernateMaxFetchDepth" required="false"> <documentation> - Sets a maximum "depth" for the outer join fetch tree. Recommended values between 0 and 3 + Sets a maximum "depth" for the outer join fetch tree. + Recommended values between 0 and 3 </documentation> </property> <property name="hibernateJdbcFetchSize" required="false"> @@ -170,7 +171,8 @@ </property> <property name="hibernateJdbcUseStreamsForBinary" required="false"> <documentation> - Whether or not to use streams when writing / reading binary or serializable types to/from JDBC. + Whether or not to use streams when writing / reading binary + or serializable types to/from JDBC. </documentation> </property> </propertyGroup> @@ -196,6 +198,17 @@ </property> </propertyGroup> <propertyGroup name="Transactions"> + <property name="hibernateTransactionManagerLookupClass" required="false"> + <documentation> + Defines the classname of a TransactionManagerLookup + which is required when JVM-level caching is enabled + or when using hilo generator in a JTA environment. + Typicallyl, this value is: + <ul> + <li>org.hibernate.transaction.JBossTransactionManagerLookup</li> + </ul> + </documentation> + </property> <property name="hibernateTransactionFlushBeforeCompletion" required="false"> <documentation> Define if the session will automatically be flushed |
From: Vance K. <va...@us...> - 2006-03-14 06:18:53
|
User: vancek Date: 06/03/13 22:18:52 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added hibernate cache related properties added clustering property added application-metainf outlet property Revision Changes Path 1.18 +85 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.17 retrieving revision 1.18 diff -u -w -r1.17 -r1.18 --- namespace.xml 28 Feb 2006 02:17:20 -0000 1.17 +++ namespace.xml 14 Mar 2006 06:18:51 -0000 1.18 @@ -66,6 +66,13 @@ login-config.xml descriptor. </documentation> </property> + <property name="application-metainf"> + <documentation> + The location where the application specific XML + descriptors that are packaged in the ear file are + generated. + </documentation> + </property> <property name="message-driven-beans"> <documentation> The directory to which Message Driven Bean files @@ -196,6 +203,84 @@ </ul> </documentation> </property> + <property name="hibernateEnableCache"> + <default>false</default> + <documentation> + Enable/disable hibernate's second level cache + features for the cartridge. This implies the + JBoss Cache framework for the EJB3 cartridge. + By enabling this, you are enabling entity + caching. + </documentation> + </property> + <property name="hibernateEnableAssociationsCache"> + <default>false</default> + <documentation> + Enable/disable Hibernate's second level cache + feature for entity associations. + Please <strong>NOTE</strong> that hibernateEnableCache + should also be enabled when specifying this property. + </documentation> + </property> + <property name="hibernateEnableQueryCache"> + <default>false</default> + <documentation> + Enable/disable Hibernate's query cache + feature for queries. + Please <strong>NOTE</strong> that hibernateEnableCache + should also be enabled when specifying this property. + </documentation> + </property> + <property name="hibernateEntityCache"> + <default>READ_WRITE</default> + <documentation> + Defines the default strategy for Entities caching. + Can be overwritten using the corresponding + tagged value <code>@andromda.persistence.entity.cache</code>. + Possible values are: + <ul> + <li>READ_WRITE</li> + <li>NONSTRICT_READ_WRITE</li> + <li>READ_ONLY</li> + <li>TRANSACTIONAL</li> + <li>NONE</li> + </ul> + </documentation> + </property> + <property name="hibernateAssociationCache"> + <default>READ_WRITE</default> + <documentation> + Defines the default strategy for associations between + Entities caching. Can be overwrited with the corresponding + tagged value <code>@andromda.persistence.association.cache</code>. + Possible values are: + <ul> + <li>READ_WRITE</li> + <li>NONSTRICT_READ_WRITE</li> + <li>READ_ONLY</li> + <li>TRANSACTIONAL</li> + <li>NONE</li> + </ul> + </documentation> + </property> + </propertyGroup> + <propertyGroup name="Clustering"> + <property name="enableClustering"> + <default>false</default> + <documentation> + Enable/disable EJB 3.0 clustering by + the application server. Applies to + stateless and stateful session bean + clustering. You can override the + default setting via the + <code>@andromda.service.clustered</code> + tagged value. Possible values are: + <ul> + <li>true</li> + <li>false</li> + </ul> + </documentation> + </property> </propertyGroup> <propertyGroup name="Transactions"> <property name="hibernateTransactionManagerLookupClass" required="false"> |
From: Vance K. <va...@us...> - 2006-03-20 08:46:08
|
User: vancek Date: 06/03/20 00:46:07 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: renamed hibernateEnableQueryCache to hibernateUseQueryCache property. defined useDefaultCacheRegion property. set the hibernateEntityCache and hibernateAssociationCache default value to TRANSACTIONAL. Revision Changes Path 1.19 +15 -3 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.18 retrieving revision 1.19 diff -u -w -r1.18 -r1.19 --- namespace.xml 14 Mar 2006 06:18:51 -0000 1.18 +++ namespace.xml 20 Mar 2006 08:46:07 -0000 1.19 @@ -222,7 +222,7 @@ should also be enabled when specifying this property. </documentation> </property> - <property name="hibernateEnableQueryCache"> + <property name="hibernateUseQueryCache"> <default>false</default> <documentation> Enable/disable Hibernate's query cache @@ -231,8 +231,20 @@ should also be enabled when specifying this property. </documentation> </property> + <property name="useDefaultCacheRegion"> + <default>false</default> + <documentation> + Set to true if you do NOT wish to separate the + entity and query cache regions. That way, all + entities and queries use the default cache + region. + Set to false and the cartridge will create a + new cache region for all entities and all + queries marked as cacheable. + </documentation> + </property> <property name="hibernateEntityCache"> - <default>READ_WRITE</default> + <default>TRANSACTIONAL</default> <documentation> Defines the default strategy for Entities caching. Can be overwritten using the corresponding @@ -248,7 +260,7 @@ </documentation> </property> <property name="hibernateAssociationCache"> - <default>READ_WRITE</default> + <default>TRANSACTIONAL</default> <documentation> Defines the default strategy for associations between Entities caching. Can be overwrited with the corresponding |
From: Vance K. <va...@us...> - 2006-04-11 16:04:33
|
User: vancek Date: 06/04/11 09:04:28 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added serviceBaseNamePattern and webServiceInterfaceNamePattern to name pattern group added WebService Property group Revision Changes Path 1.20 +106 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.19 retrieving revision 1.20 diff -u -w -r1.19 -r1.20 --- namespace.xml 20 Mar 2006 08:46:07 -0000 1.19 +++ namespace.xml 11 Apr 2006 16:04:28 -0000 1.20 @@ -412,6 +412,13 @@ bean delegate class name. </documentation> </property> + <property name="serviceBaseNamePattern"> + <default>{0}Base</default> + <documentation> + The pattern to use when constructing the service + bean base class name. + </documentation> + </property> <property name="serviceImplementationOperationNamePattern"> <default>handle{0}</default> <documentation> @@ -520,6 +527,14 @@ Collection. </documentation> </property> + <property name="webServiceInterfaceNamePattern"> + <default>{0}WSInterface</default> + <documentation> + The pattern to use when defining the web + service interface name when exposing + session bean operations as web services. + </documentation> + </property> </propertyGroup> <propertyGroup name="MDB Properties"> <property name="messageDrivenDestinationType"> @@ -737,6 +752,97 @@ </documentation> </property> </propertyGroup> + <propertyGroup name="WebService Properties"> + <property name="webServiceDefaultStyle"> + <default>rpc</default> + <documentation> + The default style given all web services (if not defined seperately + on each web service). Possible choices are: + <ul> + <li>rpc</li> + <li>document</li> + </ul> + </documentation> + </property> + <property name="webServiceDefaultUse"> + <default>literal</default> + <documentation> + The default use given all web services (if not defined seperately + on each web service). Possible choices are: + <ul> + <li>literal</li> + <li>encoded</li> + </ul> + </documentation> + </property> + <property name="webServiceDefaultParameterStyle"> + <default>wrapped</default> + <documentation> + The default parameter encoding style for a + webservice operation. Possible choices are: + <ul> + <li>wrapped</li> + <li>bare</li> + </ul> + </documentation> + </property> + <property name="webServiceQualifiedNameLocalPartPattern"> + <default>{0}</default> + <documentation> + The pattern to use when a qualified name local part + is created. {0} represents the name of the classifier + (Service). + </documentation> + </property> + <property name="webServiceEnabled"> + <documentation> + Specifies whether to use the JSR 181 web services + standards to expose web service operations in the + EJB3 cartridge. + If set to false, use the webservice cartridge + provided by AndroMDA/Axis. Possible choices are: + <ul> + <li>true</li> + <li>false</li> + </ul> + </documentation> + </property> + <property name="webServiceNamespacePattern"> + <default>http://{0}/{1}</default> + <documentation> + The pattern to use when a namespace is created. + <em>{0}</em> represents the package name of the classifier (i.e. + <em>ws.{0}</em> would prefix all your type and service + namespaces with <em>ws.</em>). + </documentation> + </property> + <property name="webServiceReverseNamespace"> + <default>false</default> + <documentation> + Whether or not to reverse the ordering of the namespace. + The namespace is typically determined by the package + name of the service or type, this allows you to reverse the package + name. (i.e. org.andromda.samples would become + <em>samples.andromda.org</em> if this was set to <code>true</code>). + Possible value are: + <ul> + <li>true</li> + <li>false</li> + </ul> + </documentation> + </property> + <property name="webServiceContextRoot"> + <documentation> + The context root for the web service. + </documentation> + </property> + <property name="webServiceUrlPattern"> + <documentation> + The URL pattern appended to the context + root for the web service. + </documentation> + </property> + </propertyGroup> <propertyGroup name="Other Properties"> <property name="persistenceContainerName"> <default>jboss</default> |
From: Vance K. <va...@us...> - 2006-04-24 02:42:52
|
User: vancek Date: 06/04/23 19:42:51 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: added DAO outlets and DAO Property group with DAO related properties. defined embeddedValueImplementationNamePattern property Revision Changes Path 1.21 +86 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.20 retrieving revision 1.21 diff -u -w -r1.20 -r1.21 --- namespace.xml 11 Apr 2006 16:04:28 -0000 1.20 +++ namespace.xml 24 Apr 2006 02:42:51 -0000 1.21 @@ -59,6 +59,29 @@ is generated. </documentation> </property> + <property name="daos"> + <documentation> + The location to which EJB3 DAOs, and any support classes + are generated. + <p> + Please <strong>NOTE</strong> + that the dao implementation classes will also be generated to this location when + <strong>no operations</strong> are present on the entity with <em>classifier scope</em>. + </p> + </documentation> + </property> + <property name="dao-impls"> + <documentation> + The location to which EJB3 DAO implementation + classes will be generated (if there are any classifier scoped business + operations modeled on any entity). + <p> + Please <strong>NOTE</strong> + that the dao implementation classes will be generated to the <em>daos</em> outlet when + <strong>no operations</strong> are present on the entity with <em>classifier scope</em>. + </p> + </documentation> + </property> <property name="application-config"> <documentation> The location where the application specific XML @@ -535,6 +558,13 @@ session bean operations as web services. </documentation> </property> + <property name="embeddedValueImplementationNamePattern"> + <default>{0}Impl</default> + <documentation> + The pattern to use when constructing an embedded + value implementation name. + </documentation> + </property> </propertyGroup> <propertyGroup name="MDB Properties"> <property name="messageDrivenDestinationType"> @@ -752,6 +782,62 @@ </documentation> </property> </propertyGroup> + <propertyGroup name="DAO Properties"> + <property name="daoInheritanceEnabled"> + <default>false</default> + <documentation> + Whether or not the DAOs should make up an inheritance tree in + the same way as their respective entities. This is disabled + by default but you might want to enable it if you prefer to have + top-level DAO operations visible in child DAO classes. The EJB3 + cartridge uses JDK5 generics, further enahanced by enabling the + <code>enableTemplating</code> namespace property. + </documentation> + </property> + <property name="enableDaoPropertiesCreateMethod"> + <default>true</default> + <documentation> + Whether or not the create methods on the DAOs taking properties + from the entity shall be generated. + </documentation> + </property> + <property name="daoNamePattern"> + <default>{0}Dao</default> + <documentation> + The pattern to use when constructing the DAO name. <em>{0}</em> + is used to represent the entity name in the model, so if you + specified a value of <code>{0}Dao</code> all + the entities generated would have a suffix of "Dao". + </documentation> + </property> + <property name="daoBaseNamePattern"> + <default>{0}DaoBase</default> + <documentation> + The pattern to use when constructing the base DAO's name. + <em>{0}</em> is used to represent the entity name + in the model, so if you specified a value of + <code>{0}DaoBase</code> all the entities generated + would have a suffix of "DaoBase". + </documentation> + </property> + <property name="daoImplementationNamePattern"> + <default>{0}DaoImpl</default> + <documentation> + The pattern to use when constructing the DAO's + implementation name. <em>{0}</em> is used to represent + the entity name in the model, so if you specified a value of + <code>{0}DaoImpl</code> all the entities generated + would have a suffix of "DaoImpl". + </documentation> + </property> + <property name="daoDefaultExceptionNamePattern"> + <default>{0}DaoException</default> + <documentation> + The pattern to use when constructing the DAO + default exception name. + </documentation> + </property> + </propertyGroup> <propertyGroup name="WebService Properties"> <property name="webServiceDefaultStyle"> <default>rpc</default> |
From: Vance K. <va...@us...> - 2006-04-30 01:52:10
|
User: vancek Date: 06/04/29 18:52:09 Modified: andromda-ejb3/src/main/resources/META-INF/andromda namespace.xml Log: renamed serviceImplementationOperationNamePattern property to implementationOperationNamePattern Revision Changes Path 1.22 +2 -1 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml Index: namespace.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/namespace.xml,v retrieving revision 1.21 retrieving revision 1.22 diff -u -w -r1.21 -r1.22 --- namespace.xml 24 Apr 2006 02:42:51 -0000 1.21 +++ namespace.xml 30 Apr 2006 01:52:09 -0000 1.22 @@ -442,10 +442,11 @@ bean base class name. </documentation> </property> - <property name="serviceImplementationOperationNamePattern"> + <property name="implementationOperationNamePattern"> <default>handle{0}</default> <documentation> The pattern used to the create the implementation operation name + for both session and entity bean operations. (i.e. the operations that actually perform the handling of the logic), where <em>{0}</em> represents the operation name. </documentation> |