You can subscribe to this list here.
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2006 |
Jan
(178) |
Feb
(169) |
Mar
(286) |
Apr
(117) |
May
(98) |
Jun
(68) |
Jul
(63) |
Aug
(121) |
Sep
(88) |
Oct
(124) |
Nov
(2) |
Dec
(111) |
2007 |
Jan
(224) |
Feb
(69) |
Mar
(10) |
Apr
(72) |
May
(7) |
Jun
(21) |
Jul
(33) |
Aug
(35) |
Sep
(12) |
Oct
(22) |
Nov
(5) |
Dec
(6) |
2008 |
Jan
(2) |
Feb
(10) |
Mar
(39) |
Apr
(58) |
May
(34) |
Jun
(9) |
Jul
(27) |
Aug
(10) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
From: Leif J. <le...@us...> - 2007-06-10 20:04:08
|
User: leifj Date: 07/06/10 13:04:07 Modified: andromda-jsf2/src/main/resources/templates/jsf2/views/jsp index.jsp.vsl Log: pass initial request parameters through Revision Changes Path 1.4 +1 -1 cartridges/andromda-jsf2/src/main/resources/templates/jsf2/views/jsp/index.jsp.vsl Index: index.jsp.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-jsf2/src/main/resources/templates/jsf2/views/jsp/index.jsp.vsl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- index.jsp.vsl 11 Jan 2007 17:37:58 -0000 1.3 +++ index.jsp.vsl 10 Jun 2007 20:04:07 -0000 1.4 @@ -3,4 +3,4 @@ #else #set($path = "/crud-index") #end -<%response.sendRedirect(request.getContextPath() + "${path}.${facesServletExtension}");%> \ No newline at end of file +<%response.sendRedirect(request.getContextPath() + "${path}.${facesServletExtension}"+(request.getQueryString() != null ? "?"+request.getQueryString() : ""));%> |
From: Vance K. <va...@us...> - 2007-05-20 07:06:56
|
User: vancek Date: 07/05/20 00:06:56 Modified: andromda-seam/src/site changes.xml andromda-seam/src/main/resources/META-INF/andromda cartridge.xml Log: remove jboss-seam.jar from war Revision Changes Path 1.2 +5 -0 cartridges/andromda-seam/src/site/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-seam/src/site/changes.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- changes.xml 12 Apr 2007 15:29:31 -0000 1.1 +++ changes.xml 20 May 2007 07:06:55 -0000 1.2 @@ -10,6 +10,11 @@ with the EJB3 cartridge. Refer the booking-seam example under the samples folder of the andromda-plugins project for basic usage. </action> + <action dev="vancek" type="fix"> + jboss-seam.jar cannot exist in the ear and war. This causes classpath issues and an error message + when you have SFSB seam components. + (Stateful session bean component should have a method marked @Remove @Destroy) + </action> </release> </body> </document> \ No newline at end of file 1.3 +2 -2 cartridges/andromda-seam/src/main/resources/META-INF/andromda/cartridge.xml Index: cartridge.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-seam/src/main/resources/META-INF/andromda/cartridge.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- cartridge.xml 23 Apr 2007 14:41:24 -0000 1.2 +++ cartridge.xml 20 May 2007 07:06:56 -0000 1.3 @@ -84,8 +84,8 @@ lastModifiedCheck="true"/> <resource - path="lib/seam/jboss-seam*.*" - outputPattern="WEB-INF/lib/jboss-seam{0}" + path="lib/seam/jboss-seam-*.*" + outputPattern="WEB-INF/lib/jboss-seam-{0}" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> |
From: Vance K. <va...@us...> - 2007-05-07 13:52:12
|
User: vancek Date: 07/05/07 06:50:26 Modified: andromda-ejb3/src/site/axdoc howto2.xml Log: hibernate cascade type docs Revision Changes Path 1.3 +8 -0 cartridges/andromda-ejb3/src/site/axdoc/howto2.xml Index: howto2.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/axdoc/howto2.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- howto2.xml 19 Jan 2007 14:35:42 -0000 1.2 +++ howto2.xml 7 May 2007 13:50:26 -0000 1.3 @@ -159,6 +159,14 @@ <li class="gen"><a href="howto/org/andromda/test/howto2/b/PersonDaoException.java"><code>PersonDaoException.java</code></a></li> </ul> </p> + <p class="highlight"> + If you enable Hibernate extensions by setting the value of the <b>persistenceProviderExtensions</b> + namespace property in your andromda.xml to <i>hibernate</i>, you can also model the + <code>@andromda.hibernate.cascade</code> tagged value on your association ends. This way, you + can further customize your cascade solution to use Hibernate specific cascade types such as + SAVE_UPDATE and DELETE_ORPHAN. Remember, this tagged value accepts a comma separated list + of fully qualified cascade types. + </p> </subsection> <a name="Fetch_Type"/> <subsection name="Fetch Type"> |
From: Vance K. <va...@us...> - 2007-05-07 13:32:33
|
User: vancek Date: 07/05/07 06:32:34 Modified: andromda-ejb3/src/site changes.xml andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades EJB3OperationFacadeLogicImpl.java andromda-ejb3/src/test/expected cartridge-output.zip andromda-ejb3/src/site/axdoc howto9.xml andromda-ejb3/src/main/resources/templates/ejb3 EntityEmbeddable.vsl andromda-ejb3/src/main/uml EJB3MetafacadeModel.xml.zip Added: andromda-ejb3/src/site/axdoc namespace.xml profile.xml Log: jira ejb-53 - remove embeddable when explicitly defining mapped superclass Revision Changes Path 1.17 +7 -0 cartridges/andromda-ejb3/src/site/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/changes.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -w -r1.16 -r1.17 --- changes.xml 29 Apr 2007 13:45:06 -0000 1.16 +++ changes.xml 7 May 2007 13:32:30 -0000 1.17 @@ -462,6 +462,13 @@ To add more than one cascade property, simply comma separate the types when setting the value of the @andromda.hibernate.cascade tagged value. </action> + <action dev="vancek" due-to="khwalk" type="fix"> + JIRA EJB-53 - When a modelled entity with a MappedSuperclass stereotype has an association to another + entity, the association definition in this other entity is incorrectly named. The resolution is to + avoid appending Embeddable to the mapped superclass and don't apply a naming pattern when a mapped superclass + is explicity modelled. It is fine to apply this naming pattern when this is not explicitly modelled and + instance scoped operations exist on the entity and a mapped superclass is generated. + </action> </release> </body> </document> \ No newline at end of file 1.7 +19 -3 cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3OperationFacadeLogicImpl.java Index: EJB3OperationFacadeLogicImpl.java =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3OperationFacadeLogicImpl.java,v retrieving revision 1.6 retrieving revision 1.7 diff -u -w -r1.6 -r1.7 --- EJB3OperationFacadeLogicImpl.java 11 Aug 2006 05:49:46 -0000 1.6 +++ EJB3OperationFacadeLogicImpl.java 7 May 2007 13:32:30 -0000 1.7 @@ -30,9 +30,9 @@ */ protected boolean handleIsBusinessOperation() { - return !this.hasStereotype(EJB3Profile.STEREOTYPE_CREATE_METHOD) && - !this.hasStereotype(EJB3Profile.STEREOTYPE_FINDER_METHOD) && - !this.hasStereotype(EJB3Profile.STEREOTYPE_SELECT_METHOD); + return !this.isCreateMethod() && + !this.isFinderMethod() && + !this.isSelectMethod(); } /** @@ -44,6 +44,22 @@ } /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3OperationFacadeLogic#handleIsCreateMethod() + */ + protected boolean handleIsCreateMethod() + { + return this.hasStereotype(EJB3Profile.STEREOTYPE_CREATE_METHOD); + } + + /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3OperationFacadeLogic#handleIsFinderMethod() + */ + protected boolean handleIsFinderMethod() + { + return this.hasStereotype(EJB3Profile.STEREOTYPE_FINDER_METHOD) || this.isQuery(); + } + + /** * @see org.andromda.cartridges.ejb3.metafacades.EJB3OperationFacadeLogic#handleIsPrePersist() */ protected boolean handleIsPrePersist() 1.9 +44 -41 cartridges/andromda-ejb3/src/test/expected/cartridge-output.zip <<Binary file>> 1.5 +53 -38 cartridges/andromda-ejb3/src/site/axdoc/howto9.xml Index: howto9.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/axdoc/howto9.xml,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- howto9.xml 17 Feb 2007 14:09:09 -0000 1.4 +++ howto9.xml 7 May 2007 13:32:32 -0000 1.5 @@ -30,9 +30,9 @@ <subsection name="Non Interhiting Entities"> <p> In a mapped superclass scenario, an entity inherits from a superclass that has persistent state - and mapping information, but the super class isn't an entity and is not mapped to a relation table. + and mapping information, but the super class is NOT an entity and is not mapped to a relation table. This is the strategy employed by the EJB3 cartridge when generating non-inheriting entities if - <code>instance</code> scoped operations are modelled on the entity. + <code>instance</code> scoped operations exist on the entity. </p> <p> A mapped superclass is generated containing @@ -41,16 +41,47 @@ and relationship mapping information exists in the mapped superclass. The mapped superclass is regenerated on every run, however the subclass is not. </p> + <p class="highlight"> + Until we declare entity pojos via orm.xml instead of annotations, the inheriting subclass + in the latter scenario will require manual modifications if you change certain metamodel + tags. + </p> </subsection> <a name="Mapped_Superclasses"/> <subsection name="Mapped Superclasses"> <p> - To explicity defined an entity as a mapped superclass, model the - <![CDATA[<<MappedSuperclass>>]]> stereotype on the root entity. + To explicity define an entity as a mapped superclass, model the + <![CDATA[<<MappedSuperclass>>]]> stereotype on the root entity. In the past, you had to + model the <![CDATA[<<Entity>>]]> stereotype as well on this class, but this is no longer + necessary if you are using the latest cartridge source. + </p> + <p class="highlight"> + If you do not want to model the <![CDATA[<<Entity>>]]> stereotype as well - in theory, a mapped + superclass is NOT an entity and it doesn't make sense for this stereotype to exist - you must + also disable the following two constraints in your <code>andromda.xml</code> by adding the following + <b>constraints</b> section. Rest assured that by disabling these constraints, your are not + vulnerable to modelling flaws, since the constraints that exist on the <i>EJB3EntityFacade</i> will + enforce these constraints. +<source language="xml"><![CDATA[ + <repository name="netBeansMDR"> + <models> + <model> + <uri>${model.uri}</uri> + <moduleSearchLocations> + <location patterns="**/*.xml.zip">${settings.localRepository}/org/andromda/profiles/</location> + </moduleSearchLocations> + <constraints enforceAll="true"> + <constraint enforce="false">org::andromda::metafacades::uml::Entity::entities can only generalize other entities</constraint> + <constraint enforce="false">org::andromda::metafacades::uml::Entity::entity must have at least one primary key</constraint> + </constraints> + </model> + </models> + </repository> +]]></source> </p> <p class="highlight"> - You must explicity define your identifiers either in the mapped superclass or in the inheriting - subclass entities. + In this case, you must explicity define your identifiers either in the mapped superclass or in + the inheriting subclass entity. </p> <p> The following is an example of this type of inheritance where the <code>Vehicle</code> mapped @@ -68,7 +99,7 @@ </p> <p> <ul> - <li class="gen"><a class="changed" href="howto/org/andromda/test/howto9/a/VehicleEmbeddable.java"><code>VehicleEmbeddable.java</code></a></li> + <li class="gen"><a class="changed" href="howto/org/andromda/test/howto9/a/Vehicle.java"><code>Vehicle.java</code></a></li> <li class="gen"><a class="changed" href="howto/org/andromda/test/howto9/a/CarEmbeddable.java"><code>CarEmbeddable.java</code></a></li> <li class="impl"><a class="changed" href="howto/org/andromda/test/howto9/a/Car.java"><code>Car.java</code></a></li> <li class="gen"><a href="howto/org/andromda/test/howto9/a/CarType.java"><code>CarType.java</code></a></li> @@ -91,45 +122,29 @@ </ul> </p> <p> - It's worthwhile to note that only a <code>VehicleEmbeddable</code> class is generated which - contains all the mapping information. + It's worthwhile to note that only a <code>Vehicle</code> class is generated which + contains all the mapping information. In this case, because the <code>Vehicle</code> class + was explicitly defined as a mapped superclass, the naming pattern does NOT append + <code>Embeddable</code> to the class name. This class is regenerated every time AndroMDA runs; any manual changes to this - class is overwritten. + class will be overwritten. </p> <p> - A <code>CarEmbeddable</code> mapped superclass with all mapping information - is generated and a <code>Car</code> implementation entity classes. Remember that this only happens - if the entity contains <code>instance</code> scoped operations. + The process also generates a <code>CarEmbeddable</code> mapped superclass, containing all + mapping information, along with an extending <code>Car</code> implementation entity class. + Remember that this only happens if the entity contains <code>instance</code> scoped operations. + The naming pattern here dictates that <code>Embeddable</code> is appended to the mapped superclass. + Remember this is NOT the case when you explicitly define the a mapped superclass. </p> <p> - The the Person entity operates under the normal EJB3 cartridge + The Person entity operates under normal EJB3 cartridge guidelines since there is no inheritance hierarchy for this entity. Therefore, only a - <code>Person</code> class is generated and should not be modified. + <code>Person</code> class is generated and should not be modified since it will be overwritten + during the next build. </p> - <p> + <p class="highlight"> If you are going to enable manageable entities, you must ONLY enable - your identifiers in the subclass and not the parent mapped superclass. Furthermore, you must - also disable - the following two constraints in your <code>andromda.xml</code> by adding the following - <b>constraints</b> section. Rest assured that by disabling these constraints, your are not - vulnerable to modelling flaws, since the constraints on the <i>EJB3EntityFacade</i> will - enforce these constraints. -<source language="xml"><![CDATA[ - <repository name="netBeansMDR"> - <models> - <model> - <uri>${model.uri}</uri> - <moduleSearchLocations> - <location patterns="**/*.xml.zip">${settings.localRepository}/org/andromda/profiles/</location> - </moduleSearchLocations> - <constraints enforceAll="true"> - <constraint enforce="false">org::andromda::metafacades::uml::Entity::entities can only generalize other entities</constraint> - <constraint enforce="false">org::andromda::metafacades::uml::Entity::entity must have at least one primary key</constraint> - </constraints> - </model> - </models> - </repository> -]]></source> + your identifiers in the subclass and not the parent mapped superclass. </p> </subsection> <a name="Single_Table_Strategy"/> 1.1 cartridges/andromda-ejb3/src/site/axdoc/namespace.xml Index: namespace.xml =================================================================== <?xml version="1.0" encoding="UTF-8"?> <document><properties><title>AndroMDA EJB3 Cartridge Namespace</title></properties><body> <section name="AndroMDA EJB3 Cartridge Namespace Components"><ul> <li>cartridge</li> <li>metafacades</li> <li>profile</li> </ul></section> <section name="AndroMDA EJB3 Cartridge Namespace Properties"><div class="namespacePropertyGroup"><a name="Cache" class="namespacePropertyGroup">Cache</a><ul><li><a href="#hibernateAssociationCache" title="Optional, defaults to 'TRANSACTIONAL'">hibernateAssociationCache</a></li><li><a href="#hibernateCacheProvider" title="Optional, no default value available">hibernateCacheProvider</a></li><li><a href="#hibernateEnableAssociationsCache" title="Optional, defaults to 'false'">hibernateEnableAssociationsCache</a></li><li><a href="#hibernateEnableCache" title="Optional, defaults to 'false'">hibernateEnableCache</a></li><li><a href="#hibernateEntityCache" title="Optional, defaults to 'TRANSACTIONAL'">hibernateEntityCache</a></li><li><a href="#hibernateTreecacheMbeanObject" title="Optional, no default value available">hibernateTreecacheMbeanObject</a></li><li><a href="#hibernateUseQueryCache" title="Optional, defaults to 'false'">hibernateUseQueryCache</a></li><li><a href="#useDefaultCacheRegion" title="Optional, defaults to 'false'">useDefaultCacheRegion</a></li></ul></div><div class="namespacePropertyGroup"><a name="Clustering" class="namespacePropertyGroup">Clustering</a><ul><li><a href="#enableClustering" title="Optional, defaults to 'false'">enableClustering</a></li></ul></div><div class="namespacePropertyGroup"><a name="DAO Properties" class="namespacePropertyGroup">DAO Properties</a><ul><li><a href="#daoBaseNamePattern" title="Optional, defaults to '{0}DaoBase'">daoBaseNamePattern</a></li><li><a href="#daoDefaultExceptionNamePattern" title="Optional, defaults to '{0}DaoException'">daoDefaultExceptionNamePattern</a></li><li><a href="#daoImplementationNamePattern" title="Optional, defaults to '{0}DaoImpl'">daoImplementationNamePattern</a></li><li><a href="#daoInheritanceEnabled" title="Optional, defaults to 'false'">daoInheritanceEnabled</a></li><li><a href="#daoNamePattern" title="Optional, defaults to '{0}Dao'">daoNamePattern</a></li><li><a href="#enableDaoPropertiesCreateMethod" title="Optional, defaults to 'true'">enableDaoPropertiesCreateMethod</a></li></ul></div><div class="namespacePropertyGroup"><a name="Entity Properties" class="namespacePropertyGroup">Entity Properties</a><ul><li><a href="#entityAggregationCascade" title="Optional, no default value available">entityAggregationCascade</a></li><li><a href="#entityCompositeCascade" title="Optional, no default value available">entityCompositeCascade</a></li><li><a href="#entityDefaultCascade" title="Optional, defaults to 'NONE'">entityDefaultCascade</a></li><li><a href="#entityDefaultEnumLiteralColumnLength" title="Optional, defaults to '20'">entityDefaultEnumLiteralColumnLength</a></li><li><a href="#entityDefaultGeneratorAllocationSize" title="Optional, defaults to '1'">entityDefaultGeneratorAllocationSize</a></li><li><a href="#entityDefaultGeneratorInitialValue" title="Optional, defaults to '1'">entityDefaultGeneratorInitialValue</a></li><li><a href="#entityDefaultGeneratorType" title="Optional, defaults to 'AUTO'">entityDefaultGeneratorType</a></li><li><a href="#entityDefaultTemporalType" title="Optional, defaults to 'TIMESTAMP'">entityDefaultTemporalType</a></li><li><a href="#entityDiscriminatorColumnName" title="Optional, defaults to 'TYPE'">entityDiscriminatorColumnName</a></li><li><a href="#entityDiscriminatorType" title="Optional, defaults to 'STRING'">entityDiscriminatorType</a></li><li><a href="#entityGenericFinders" title="Optional, defaults to 'true'">entityGenericFinders</a></li><li><a href="#entityInheritanceStrategy" title="Optional, defaults to 'SINGLE_TABLE'">entityInheritanceStrategy</a></li><li><a href="#entityViewType" title="Optional, defaults to 'local'">entityViewType</a></li></ul></div><div class="namespacePropertyGroup"><a name="JDBC" class="namespacePropertyGroup">JDBC</a><ul><li><a href="#connectionUrl" title="Optional, no default value available">connectionUrl</a></li><li><a href="#dataSource" title="Optional, no default value available">dataSource</a></li><li><a href="#dataSourceName" title="Optional, no default value available">dataSourceName</a></li><li><a href="#driver" title="Optional, no default value available">driver</a></li><li><a href="#entityManagerJTADataSource" title="Optional, defaults to 'java:/DefaultDS'">entityManagerJTADataSource</a></li><li><a href="#entityManagerName" title="Optional, no default value available">entityManagerName</a></li><li><a href="#hibernateDialect" title="Optional, defaults to 'org.hibernate.dialect.MySQLDialect'">hibernateDialect</a></li><li><a href="#hibernateHbm2DDLAuto" title="Optional, defaults to 'update'">hibernateHbm2DDLAuto</a></li><li><a href="#hibernateJdbcBatchSize" title="Optional, no default value available">hibernateJdbcBatchSize</a></li><li><a href="#hibernateJdbcFetchSize" title="Optional, no default value available">hibernateJdbcFetchSize</a></li><li><a href="#hibernateJdbcUseScrollableResultSet" title="Optional, no default value available">hibernateJdbcUseScrollableResultSet</a></li><li><a href="#hibernateJdbcUseStreamsForBinary" title="Optional, no default value available">hibernateJdbcUseStreamsForBinary</a></li><li><a href="#hibernateMaxFetchDepth" title="Optional, no default value available">hibernateMaxFetchDepth</a></li><li><a href="#hibernateShowSql" title="Optional, no default value available">hibernateShowSql</a></li><li><a href="#jarFiles" title="Optional, no default value available">jarFiles</a></li><li><a href="#password" title="Optional, no default value available">password</a></li><li><a href="#username" title="Optional, no default value available">username</a></li></ul></div><div class="namespacePropertyGroup"><a name="MDB Properties" class="namespacePropertyGroup">MDB Properties</a><ul><li><a href="#messageDrivenDestinationType" title="Optional, defaults to 'javax.jms.Queue'">messageDrivenDestinationType</a></li><li><a href="#messageDrivenTopicSubscriptionDurability" title="Optional, defaults to 'NonDurable'">messageDrivenTopicSubscriptionDurability</a></li></ul></div><div class="namespacePropertyGroup"><a name="Name Patterns" class="namespacePropertyGroup">Name Patterns</a><ul><li><a href="#defaultServiceExceptionNamePattern" title="Optional, defaults to '{0}Exception'">defaultServiceExceptionNamePattern</a></li><li><a href="#embeddedValueImplementationNamePattern" title="Optional, defaults to '{0}Impl'">embeddedValueImplementationNamePattern</a></li><li><a href="#entityCompositePrimaryKeyNamePattern" title="Optional, defaults to '{0}PK'">entityCompositePrimaryKeyNamePattern</a></li><li><a href="#entityEmbeddableNamePattern" title="Optional, defaults to '{0}Embeddable'">entityEmbeddableNamePattern</a></li><li><a href="#entityImplementationNamePattern" title="Optional, defaults to '{0}Impl'">entityImplementationNamePattern</a></li><li><a href="#entityListenerNamePattern" title="Optional, defaults to '{0}Listener'">entityListenerNamePattern</a></li><li><a href="#entityNamePattern" title="Optional, defaults to '{0}'">entityNamePattern</a></li><li><a href="#implementationOperationNamePattern" title="Optional, defaults to 'handle{0}'">implementationOperationNamePattern</a></li><li><a href="#interceptorNamePattern" title="Optional, defaults to '{0}'">interceptorNamePattern</a></li><li><a href="#jndiNamePrefix" title="Optional, no default value available">jndiNamePrefix</a></li><li><a href="#labelCollectionNamePattern" title="Optional, defaults to '{0}Labels'">labelCollectionNamePattern</a></li><li><a href="#labelSingleNamePattern" title="Optional, defaults to '{0}Label'">labelSingleNamePattern</a></li><li><a href="#manageableCreateExceptionNamePattern" title="Optional, defaults to '{0}CreateManageableException'">manageableCreateExceptionNamePattern</a></li><li><a href="#manageableDeleteExceptionNamePattern" title="Optional, defaults to '{0}DeleteManageableException'">manageableDeleteExceptionNamePattern</a></li><li><a href="#manageableReadExceptionNamePattern" title="Optional, defaults to '{0}ReadManageableException'">manageableReadExceptionNamePattern</a></li><li><a href="#manageableServiceBaseNamePattern" title="Optional, defaults to '{0}Base'">manageableServiceBaseNamePattern</a></li><li><a href="#manageableUpdateExceptionNamePattern" title="Optional, defaults to '{0}UpdateManageableException'">manageableUpdateExceptionNamePattern</a></li><li><a href="#messageDrivenDurableSubscriptionIdPattern" title="Optional, defaults to '{0}SubscriptionId'">messageDrivenDurableSubscriptionIdPattern</a></li><li><a href="#messageDrivenImplementationNamePattern" title="Optional, defaults to '{0}MDBBeanImpl'">messageDrivenImplementationNamePattern</a></li><li><a href="#messageDrivenListenerNamePattern" title="Optional, defaults to '{0}Listener'">messageDrivenListenerNamePattern</a></li><li><a href="#messageDrivenNamePattern" title="Optional, defaults to '{0}MDBBean'">messageDrivenNamePattern</a></li><li><a href="#messageDrivenTestNamePattern" title="Optional, defaults to '{0}Test'">messageDrivenTestNamePattern</a></li><li><a href="#messageDrivenTestPackageNamePattern" title="Optional, defaults to '{0}.test'">messageDrivenTestPackageNamePattern</a></li><li><a href="#serviceBaseNamePattern" title="Optional, defaults to '{0}Base'">serviceBaseNamePattern</a></li><li><a href="#serviceDelegateNamePattern" title="Optional, defaults to '{0}Delegate'">serviceDelegateNamePattern</a></li><li><a href="#serviceImplementationNamePattern" title="Optional, defaults to '{0}BeanImpl'">serviceImplementationNamePattern</a></li><li><a href="#serviceInterfaceNamePattern" title="Optional, defaults to '{0}'">serviceInterfaceNamePattern</a></li><li><a href="#serviceListenerNamePattern" title="Optional, defaults to '{0}Listener'">serviceListenerNamePattern</a></li><li><a href="#serviceLocalInterfaceNamePattern" title="Optional, defaults to '{0}Local'">serviceLocalInterfaceNamePattern</a></li><li><a href="#serviceNamePattern" title="Optional, defaults to '{0}Bean'">serviceNamePattern</a></li><li><a href="#serviceOperationTestNamePattern" title="Optional, defaults to 'test{0}'">serviceOperationTestNamePattern</a></li><li><a href="#serviceRemoteInterfaceName" title="Optional, defaults to '{0}Remote'">serviceRemoteInterfaceName</a></li><li><a href="#serviceTestNamePattern" title="Optional, defaults to '{0}Test'">serviceTestNamePattern</a></li><li><a href="#serviceTestPackageNamePattern" title="Optional, defaults to '{0}.test'">serviceTestPackageNamePattern</a></li><li><a href="#webServiceInterfaceNamePattern" title="Optional, defaults to '{0}WSInterface'">webServiceInterfaceNamePattern</a></li></ul></div><div class="namespacePropertyGroup"><a name="Other Properties" class="namespacePropertyGroup">Other Properties</a><ul><li><a href="#allowDefaultServiceException" title="Optional, defaults to 'true'">allowDefaultServiceException</a></li><li><a href="#associationCollectionType" title="Optional, defaults to 'set'">associationCollectionType</a></li><li><a href="#associationEndCollectionIndexName" title="Optional, no default value available">associationEndCollectionIndexName</a></li><li><a href="#associationEndCollectionIndexType" title="Optional, defaults to 'datatype::String'">associationEndCollectionIndexType</a></li><li><a href="#compositionDefinesEagerLoading" title="Optional, defaults to 'true'">compositionDefinesEagerLoading</a></li><li><a href="#defaultCollectionInterface" title="Optional, defaults to 'java.util.Set'">defaultCollectionInterface</a></li><li><a href="#ejb3TypeMappingsUri" title="Optional, defaults to 'Hibernate'">ejb3TypeMappingsUri</a></li><li><a href="#ejb3TypesPackage" title="Optional, defaults to 'org.andromda.ejb3'">ejb3TypesPackage</a></li><li><a href="#javaTypeConversionIgnoreList" title="Optional, no default value available">javaTypeConversionIgnoreList</a></li><li><a href="#listTypeImplementation" title="Optional, defaults to 'java.util.ArrayList'">listTypeImplementation</a></li><li><a href="#manageableServiceLocatorName" title="Optional, defaults to 'ManageableServiceLocator'">manageableServiceLocatorName</a></li><li><a href="#mapTypeImplementation" title="Optional, defaults to 'java.util.HashMap'">mapTypeImplementation</a></li><li><a href="#parameterRequiredCheck" title="Optional, defaults to 'true'">parameterRequiredCheck</a></li><li><a href="#persistenceContainerName" title="Optional, defaults to 'jboss'">persistenceContainerName</a></li><li><a href="#persistenceContextUnitName" title="Optional, no default value available">persistenceContextUnitName</a></li><li><a href="#persistenceProviderExtensions" title="Optional, defaults to 'none'">persistenceProviderExtensions</a></li><li><a href="#queryUseNamedParameters" title="Optional, defaults to 'true'">queryUseNamedParameters</a></li><li><a href="#seamEnabled" title="Optional, defaults to 'false'">seamEnabled</a></li><li><a href="#setTypeImplementation" title="Optional, defaults to 'java.util.TreeSet'">setTypeImplementation</a></li><li><a href="#specificCollectionInterfaces" title="Optional, defaults to 'false'">specificCollectionInterfaces</a></li><li><a href="#transactionType" title="Optional, defaults to 'REQUIRED'">transactionType</a></li><li><a href="#valueObjectName" title="Optional, defaults to '{0}'">valueObjectName</a></li><li><a href="#valueObjectPackage" title="Optional, defaults to '{0}'">valueObjectPackage</a></li><li><a href="#xmlEncoding" title="Optional, defaults to 'UTF-8'">xmlEncoding</a></li></ul></div><div class="namespacePropertyGroup"><a name="Outlet Properties" class="namespacePropertyGroup">Outlet Properties</a><div class="namespacePropertyGroupDocumentation"><documentation> Defines the locations to which output is generated. </documentation></div><ul><li><a href="#application-config" title="Required">application-config</a></li><li><a href="#application-metainf" title="Required">application-metainf</a></li><li><a href="#commons" title="Required">commons</a></li><li><a href="#dao-impls" title="Required">dao-impls</a></li><li><a href="#daos" title="Required">daos</a></li><li><a href="#entity-beans" title="Required">entity-beans</a></li><li><a href="#entity-config" title="Required">entity-config</a></li><li><a href="#entity-impls" title="Required">entity-impls</a></li><li><a href="#message-driven-beans" title="Required">message-driven-beans</a></li><li><a href="#message-driven-impls" title="Required">message-driven-impls</a></li><li><a href="#services" title="Required">services</a></li><li><a href="#session-beans" title="Required">session-beans</a></li><li><a href="#session-config" title="Required">session-config</a></li><li><a href="#session-impls" title="Required">session-impls</a></li><li><a href="#test-config" title="Required">test-config</a></li><li><a href="#test-impls" title="Required">test-impls</a></li><li><a href="#tests" title="Required">tests</a></li><li><a href="#user-types" title="Required">user-types</a></li></ul></div><div class="namespacePropertyGroup"><a name="Security Properties" class="namespacePropertyGroup">Security Properties</a><ul><li><a href="#manageableRolesAllowed" title="Optional, defaults to 'Admin'">manageableRolesAllowed</a></li><li><a href="#securityRealm" title="Optional, no default value available">securityRealm</a></li></ul></div><div class="namespacePropertyGroup"><a name="Service Properties" class="namespacePropertyGroup">Service Properties</a><ul><li><a href="#serviceLocatorName" title="Optional, defaults to 'ServiceLocator'">serviceLocatorName</a></li><li><a href="#serviceViewType" title="Optional, defaults to 'remote'">serviceViewType</a></li></ul></div><div class="namespacePropertyGroup"><a name="Transactions" class="namespacePropertyGroup">Transactions</a><ul><li><a href="#hibernateTransactionAutoCloseSession" title="Optional, no default value available">hibernateTransactionAutoCloseSession</a></li><li><a href="#hibernateTransactionFlushBeforeCompletion" title="Optional, no default value available">hibernateTransactionFlushBeforeCompletion</a></li><li><a href="#hibernateTransactionManagerLookupClass" title="Optional, no default value available">hibernateTransactionManagerLookupClass</a></li></ul></div><div class="namespacePropertyGroup"><a name="WebService Properties" class="namespacePropertyGroup">WebService Properties</a><ul><li><a href="#webServiceContextRoot" title="Required">webServiceContextRoot</a></li><li><a href="#webServiceDefaultParameterStyle" title="Optional, defaults to 'wrapped'">webServiceDefaultParameterStyle</a></li><li><a href="#webServiceDefaultStyle" title="Optional, defaults to 'rpc'">webServiceDefaultStyle</a></li><li><a href="#webServiceDefaultUse" title="Optional, defaults to 'literal'">webServiceDefaultUse</a></li><li><a href="#webServiceEnabled" title="Required">webServiceEnabled</a></li><li><a href="#webServiceNamespacePattern" title="Optional, defaults to 'http://{0}/{1}'">webServiceNamespacePattern</a></li><li><a href="#webServiceQualifiedNameLocalPartPattern" title="Optional, defaults to '{0}'">webServiceQualifiedNameLocalPartPattern</a></li><li><a href="#webServiceReverseNamespace" title="Optional, defaults to 'false'">webServiceReverseNamespace</a></li><li><a href="#webServiceUrlPattern" title="Required">webServiceUrlPattern</a></li></ul></div><p> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="services" class="namespacePropertyTitle">services</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The location to which all service classes (including the service locator(s)) will be generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="entity-beans" class="namespacePropertyTitle">entity-beans</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The directory to which Entity POJOs are generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="entity-impls" class="namespacePropertyTitle">entity-impls</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The location to which Entity POJO implementation files are generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="entity-config" class="namespacePropertyTitle">entity-config</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The location where the persistence XML descriptor is generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="session-beans" class="namespacePropertyTitle">session-beans</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The directory to which Session Bean files are generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="session-impls" class="namespacePropertyTitle">session-impls</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The directory to which Session Bean implementation files are generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="session-config" class="namespacePropertyTitle">session-config</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The location where the ejb-jar.xml XML descriptor is generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="daos" class="namespacePropertyTitle">daos</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><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></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="dao-impls" class="namespacePropertyTitle">dao-impls</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><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></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="application-config" class="namespacePropertyTitle">application-config</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The location where the application specific XML descriptors are generated. i.e the application login-config.xml descriptor. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="application-metainf" class="namespacePropertyTitle">application-metainf</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The location where the application specific XML descriptors that are packaged in the ear file are generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="message-driven-beans" class="namespacePropertyTitle">message-driven-beans</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The directory to which Message Driven Bean files are generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="message-driven-impls" class="namespacePropertyTitle">message-driven-impls</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The directory to which Message Driven Bean implementation files are generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="commons" class="namespacePropertyTitle">commons</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The directory to which common classes for session beans, entity POJOs or MDB are generated </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="user-types" class="namespacePropertyTitle">user-types</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The location to which user-types such as enumeration are generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="test-config" class="namespacePropertyTitle">test-config</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The location where the JBoss Embedded/Microcontainer configuration files are generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="tests" class="namespacePropertyTitle">tests</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The location where auto generated session bean test classes are generated. These are typically the helper classes which are re-generated. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="test-impls" class="namespacePropertyTitle">test-impls</a><a href="#Outlet Properties" title="Go to Outlet Properties namespace element group">(Back to Outlet Properties)</a></td></tr><tr><td><div class="required">Required property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The location where manual session bean test classes are generated. These will not be regenerated and require user intervention. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="entityManagerName" class="namespacePropertyTitle">entityManagerName</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><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></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="entityManagerJTADataSource" class="namespacePropertyTitle">entityManagerJTADataSource</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> Default value: <code class="defaultValue">java:/DefaultDS</code></td></tr><tr><td class="documentation" colspan="2"><documentation> Specifies the global JNDI name of the JTA data source. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="hibernateHbm2DDLAuto" class="namespacePropertyTitle">hibernateHbm2DDLAuto</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> Default value: <code class="defaultValue">update</code></td></tr><tr><td class="documentation" colspan="2"><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></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="hibernateDialect" class="namespacePropertyTitle">hibernateDialect</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> Default value: <code class="defaultValue">org.hibernate.dialect.MySQLDialect</code></td></tr><tr><td class="documentation" colspan="2"><documentation> 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></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="hibernateShowSql" class="namespacePropertyTitle">hibernateShowSql</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> Whether or not to log SQL statements. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="hibernateMaxFetchDepth" class="namespacePropertyTitle">hibernateMaxFetchDepth</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> Sets a maximum "depth" for the outer join fetch tree. Recommended values between 0 and 3 </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="hibernateJdbcFetchSize" class="namespacePropertyTitle">hibernateJdbcFetchSize</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> A non-zero value determines the JDBC fetch size </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="hibernateJdbcBatchSize" class="namespacePropertyTitle">hibernateJdbcBatchSize</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> A nonzero value enables use of JDBC2 batch updates by Hibernate. Recommended values between 5 and 30 </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="hibernateJdbcUseScrollableResultSet" class="namespacePropertyTitle">hibernateJdbcUseScrollableResultSet</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><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></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="hibernateJdbcUseStreamsForBinary" class="namespacePropertyTitle">hibernateJdbcUseStreamsForBinary</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> Whether or not to use streams when writing / reading binary or serializable types to/from JDBC. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="jarFiles" class="namespacePropertyTitle">jarFiles</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The comma separated ejb jars that are included in the deployed ear package. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="driver" class="namespacePropertyTitle">driver</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> JDBC Driver to make a database connection. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="username" class="namespacePropertyTitle">username</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The database user login name. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="password" class="namespacePropertyTitle">password</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The database user password. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="connectionUrl" class="namespacePropertyTitle">connectionUrl</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> URL for the JDBC Driver to make the connection to the database. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="dataSource" class="namespacePropertyTitle">dataSource</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> Full JNDI name of data source to use. (would be used instead of the connection properties, driver, username, password, etc). </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="dataSourceName" class="namespacePropertyTitle">dataSourceName</a><a href="#JDBC" title="Go to JDBC namespace element group">(Back to JDBC)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><documentation> The JNDI name of data source to use without prefix like java:/. </documentation></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="hibernateCacheProvider" class="namespacePropertyTitle">hibernateCacheProvider</a><a href="#Cache" title="Go to Cache namespace element group">(Back to Cache)</a></td></tr><tr><td><div class="optional">Optional property</div></td><td> No default value available </td></tr><tr><td class="documentation" colspan="2"><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></td></tr></table></div> <div class="namespaceProperty"><table class="bodyTable"><tr class="a"><td class="namespacePropertyTitle" colspan="2"><a name="hibernateTreecacheMbeanObject" class="namespacePropertyTitle">hibernateTreecacheMbeanObject</a><a href="#Cache" title="Go to Cache namespace element group">(Back to Cache)</a></td></tr><tr><td><... [truncated message content] |
From: Chris M. <cm...@us...> - 2007-05-03 18:28:41
|
User: cmicali Date: 07/05/03 11:24:12 Added: etc/andromda-dotnet/AndroMDA.MSBuild/AndroMDA.MSBuild.Tasks AndroMDA.MSBuild.Tasks.csproj AndroMDA.cs ConfigFile.cs Maven2Proxy.cs etc/andromda-dotnet/AndroMDA.MSBuild/AndroMDA.MSBuild.Tasks/Properties AssemblyInfo.cs etc/andromda-dotnet/AndroMDA.MSBuild AndroMDA.MSBuild.sln Log: Revision Changes Path 1.1 plugins/etc/andromda-dotnet/AndroMDA.MSBuild/AndroMDA.MSBuild.Tasks/AndroMDA.MSBuild.Tasks.csproj Index: AndroMDA.MSBuild.Tasks.csproj =================================================================== <Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> <PropertyGroup> <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> <ProductVersion>8.0.50727</ProductVersion> <SchemaVersion>2.0</SchemaVersion> <ProjectGuid>{E9C87326-E6E1-4F0D-B75F-D72C1D6DAA36}</ProjectGuid> <OutputType>Library</OutputType> <AppDesignerFolder>Properties</AppDesignerFolder> <RootNamespace>AndroMDA.MSBuild.Tasks</RootNamespace> <AssemblyName>AndroMDA.MSBuild.Tasks</AssemblyName> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <DebugSymbols>true</DebugSymbols> <DebugType>full</DebugType> <Optimize>false</Optimize> <OutputPath>bin\Debug\</OutputPath> <DefineConstants>DEBUG;TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> <DebugType>pdbonly</DebugType> <Optimize>true</Optimize> <OutputPath>bin\Release\</OutputPath> <DefineConstants>TRACE</DefineConstants> <ErrorReport>prompt</ErrorReport> <WarningLevel>4</WarningLevel> </PropertyGroup> <ItemGroup> <Reference Include="Microsoft.Build.Framework" /> <Reference Include="Microsoft.Build.Utilities" /> <Reference Include="System" /> <Reference Include="System.Data" /> <Reference Include="System.Xml" /> </ItemGroup> <ItemGroup> <Compile Include="AndroMDA.cs" /> <Compile Include="ConfigFile.cs" /> <Compile Include="Maven2Proxy.cs" /> <Compile Include="Properties\AssemblyInfo.cs" /> </ItemGroup> <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> <!-- To modify your build process, add your task inside one of the targets below and uncomment it. Other similar extension points exist, see Microsoft.Common.targets. <Target Name="BeforeBuild"> </Target> <Target Name="AfterBuild"> </Target> --> <PropertyGroup> <PostBuildEvent>copy $(TargetPath) D:\projects\VSProjects\AndroMDATaskTest\Lib</PostBuildEvent> </PropertyGroup> </Project> 1.1 plugins/etc/andromda-dotnet/AndroMDA.MSBuild/AndroMDA.MSBuild.Tasks/AndroMDA.cs Index: AndroMDA.cs =================================================================== using System; using System.Text; using Microsoft.Build.Utilities; using System.Collections; namespace AndroMDA.MSBuild.Tasks { public class AndroMDA : ToolTask { public const string VERSION = "1.0"; #region Member Variables private bool m_synchronizeProjectTree = false; private bool m_offline = false; private string m_executablePath; private string m_commandLine; #endregion #region Properties public bool SynchronizeProjectTree { get { return m_synchronizeProjectTree; } set { m_synchronizeProjectTree = value; } } public bool Offline { get { return m_offline; } set { m_offline = value; } } protected override string ToolName { get { return m_executablePath; } } #endregion protected override void LogEventsFromTextOutput(string singleLine, Microsoft.Build.Framework.MessageImportance messageImportance) { base.LogEventsFromTextOutput(singleLine, messageImportance); } public AndroMDA() { string java_home = System.Environment.GetEnvironmentVariable("JAVA_HOME"); string maven_home = System.Environment.GetEnvironmentVariable("M2_HOME"); string maven_java_exe = java_home + "\\bin\\java.exe"; string maven_opts = System.Environment.GetEnvironmentVariable("MAVEN_OPTS"); string maven_cmd_line_args = "install "; string classworlds_jar = string.Empty; if (Offline) maven_cmd_line_args += "-o "; if (java_home == null || java_home == string.Empty) { throw new Exception("Error: Maven cannot run because the JAVA_HOME environment variable is not set.\nError: Please check your java installation."); } if (maven_home == null || maven_home == string.Empty) { throw new Exception("Error: Maven cannot run because the M2_HOME environment variable is not set.\nError: Please check that maven 2.x has been correctly installed."); } if (maven_opts == null || maven_opts == string.Empty) { maven_opts = "-Xmx256m"; } string[] classworldJars = System.IO.Directory.GetFiles(maven_home + "\\core\\boot", "classworlds-*.jar", System.IO.SearchOption.TopDirectoryOnly); classworlds_jar = classworldJars[0]; m_executablePath = maven_java_exe; m_commandLine = maven_opts + " -classpath \"" + classworlds_jar + "\" \"-Dclassworlds.conf=" + maven_home + "\\bin\\m2.conf\" " + "\"-Dmaven.home=" + maven_home + "\" org.codehaus.classworlds.Launcher " + maven_cmd_line_args; } public override bool Execute() { Log.LogMessage("AndroMDA MSBuild Task v" + VERSION); if (SynchronizeProjectTree) { DoSynchronizeProjectTree(); } return base.Execute(); } protected override string GenerateFullPathToTool() { return m_executablePath; } protected override string GenerateCommandLineCommands() { return m_commandLine; } private void DoSynchronizeProjectTree() { // TODO: Sync project tree } } } 1.1 plugins/etc/andromda-dotnet/AndroMDA.MSBuild/AndroMDA.MSBuild.Tasks/ConfigFile.cs Index: ConfigFile.cs =================================================================== // Android/VS // (c)2007 AndroMDA.org #region Using statements using System; using System.IO; using System.Collections; using System.Text; using System.Xml; #endregion namespace AndroMDA.VS80AddIn { public class ConfigFile { #region Member Variables private Hashtable m_configHash = null; private string m_fileName = string.Empty; private char m_keyValueDelimiter = '='; private char m_commentDelimiter = '#'; #endregion #region Properties public string this[string key] { get { return GetValueResolved(key); } set { m_configHash[key] = value; } } public ICollection Keys { get { return m_configHash.Keys; } } public ICollection Values { get { return m_configHash.Values; } } public int Count { get { return m_configHash.Count; } } #endregion public ConfigFile() { Init(); } public ConfigFile(string filename) { Init(); LoadFromFile(filename); } private void Init() { m_configHash = new Hashtable(); } public void Clear() { m_configHash.Clear(); m_fileName = string.Empty; } public void Add(string key, string value) { m_configHash.Add(key, value); } public void Remove(string key) { m_configHash.Remove(key); } public string GetValue(string key) { if (m_configHash[key] == null) { return string.Empty; } else { return (string)m_configHash[key]; } } public string GetPath(string key) { string path = GetValueResolved(key); path = path.Replace('/', '\\'); path = path.Replace("jar:", string.Empty); path = path.Replace("file:", string.Empty); int position = path.LastIndexOf('!'); if (position != -1) { path = path.Substring(0, position); } return path; } public void Contains(string key) { m_configHash.Contains(key); } public void LoadFromFile(string filename) { LoadFromFile(filename, true); } public void LoadFromFile(string filename, bool clearConfig) { try { if (clearConfig) { Clear(); } if (System.IO.File.Exists(filename)) { using (StreamReader sr = new StreamReader(filename)) { while (!sr.EndOfStream) { string line = sr.ReadLine().Trim(); if (line != string.Empty && line[0] != m_commentDelimiter && line.Contains("=")) { string[] pair = line.Split(new char[] { m_keyValueDelimiter }, 2); m_configHash[pair[0]] = pair[1]; } } sr.Close(); } } else { // Create an empty file StreamWriter sw = new StreamWriter(filename); sw.Close(); } m_fileName = filename; } catch (Exception e) { throw new Exception("Error while trying to load " + filename + ": " + e.Message, e); } } public void LoadFromXML(string filename) { LoadFromXML(filename, string.Empty, true); } public void LoadFromXML(string filename, string namePrefixToAdd) { LoadFromXML(filename, namePrefixToAdd, true); } public void LoadFromXML(string filename, string namePrefixToAdd, bool clearConfig) { try { if (clearConfig) { Clear(); } using (XmlTextReader r = new XmlTextReader(filename)) { while (r.Name.ToLower() != "properties" && !r.EOF) { r.Read(); } if (!r.EOF) { r.Read(); while (r.NodeType != XmlNodeType.EndElement && !r.EOF) { if (r.NodeType == XmlNodeType.Element) { string value = string.Empty; string name = namePrefixToAdd + r.Name; while (r.NodeType != XmlNodeType.EndElement) { r.Read(); if (r.NodeType == XmlNodeType.Text) value += r.Value; } m_configHash[name] = value; } r.Read(); } } r.Close(); } m_fileName = filename; } catch (Exception e) { throw new Exception("Error while trying to load " + filename + ": " + e.Message, e); } } public void Save() { Save(m_fileName); } public void Save(string filename) { StreamWriter sw = new StreamWriter(filename); foreach (string key in this.Keys) { sw.WriteLine(key + m_keyValueDelimiter + this[key]); } sw.Close(); } public void ResolveVariables() { Hashtable m_values = (Hashtable)m_configHash.Clone(); bool changesApplied = false; foreach (string key in this.Keys) { foreach (string variableKey in this.Keys) { string value = this[key]; if (value.Contains("${" + variableKey + "}")) { value = value.Replace("${" + variableKey + "}", this[variableKey]); m_values[key] = value; changesApplied = true; } } } if (changesApplied) { m_configHash = m_values; } } public string GetValueResolved(string key) { string resolvedValue = (string)m_configHash[key]; if (resolvedValue == null) { return string.Empty; } foreach (string variableKey in this.Keys) { if (resolvedValue.Contains("${" + variableKey + "}")) { string replacementValue = (string)m_configHash[variableKey]; if (replacementValue.Contains("${")) { replacementValue = GetValueResolved(variableKey); } resolvedValue = resolvedValue.Replace("${" + variableKey + "}", replacementValue); } } return resolvedValue; } } } 1.1 plugins/etc/andromda-dotnet/AndroMDA.MSBuild/AndroMDA.MSBuild.Tasks/Maven2Proxy.cs Index: Maven2Proxy.cs =================================================================== using System; using System.Collections.Generic; using System.Text; namespace AndroMDA.MSBuild.Tasks { class Maven2Proxy { } } 1.1 plugins/etc/andromda-dotnet/AndroMDA.MSBuild/AndroMDA.MSBuild.Tasks/Properties/AssemblyInfo.cs Index: AssemblyInfo.cs =================================================================== using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("AndroMDA.MSBuild.Tasks")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("HP 6400 XP v1.0")] [assembly: AssemblyProduct("AndroMDA.MSBuild.Tasks")] [assembly: AssemblyCopyright("Copyright © HP 6400 XP v1.0 2007")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("87ab0597-8e57-463e-a3a5-17a53dda620b")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Revision and Build Numbers // by using the '*' as shown below: [assembly: AssemblyVersion(AndroMDA.MSBuild.Tasks.AndroMDA.VERSION)] [assembly: AssemblyFileVersion(AndroMDA.MSBuild.Tasks.AndroMDA.VERSION)] 1.1 plugins/etc/andromda-dotnet/AndroMDA.MSBuild/AndroMDA.MSBuild.sln Index: AndroMDA.MSBuild.sln ===================================================================  Microsoft Visual Studio Solution File, Format Version 9.00 # Visual Studio 2005 Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AndroMDA.MSBuild.Tasks", "AndroMDA.MSBuild.Tasks\AndroMDA.MSBuild.Tasks.csproj", "{E9C87326-E6E1-4F0D-B75F-D72C1D6DAA36}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution Debug|Any CPU = Debug|Any CPU Release|Any CPU = Release|Any CPU EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution {E9C87326-E6E1-4F0D-B75F-D72C1D6DAA36}.Debug|Any CPU.ActiveCfg = Debug|Any CPU {E9C87326-E6E1-4F0D-B75F-D72C1D6DAA36}.Debug|Any CPU.Build.0 = Debug|Any CPU {E9C87326-E6E1-4F0D-B75F-D72C1D6DAA36}.Release|Any CPU.ActiveCfg = Release|Any CPU {E9C87326-E6E1-4F0D-B75F-D72C1D6DAA36}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE EndGlobalSection EndGlobal |
From: Chris M. <cm...@us...> - 2007-05-03 18:21:20
|
User: cmicali Date: 07/05/03 11:21:22 plugins/etc/andromda-dotnet/AndroMDA.MSBuild/AndroMDA.MSBuild.Tasks/Properties - New directory |
From: Chris M. <cm...@us...> - 2007-05-03 18:21:20
|
User: cmicali Date: 07/05/03 11:21:18 plugins/etc/andromda-dotnet/AndroMDA.MSBuild/AndroMDA.MSBuild.Tasks - New directory |
From: Chris M. <cm...@us...> - 2007-05-03 18:21:13
|
User: cmicali Date: 07/05/03 11:21:14 plugins/etc/andromda-dotnet/AndroMDA.MSBuild - New directory |
From: Vance K. <va...@us...> - 2007-04-29 15:20:08
|
User: vancek Date: 07/04/29 08:20:08 Modified: andromda-ejb3 pom.xml andromda-ejb3/src/test/expected cartridge-output.zip Log: re-enable & update cartridge tests Revision Changes Path 1.17 +1 -1 cartridges/andromda-ejb3/pom.xml Index: pom.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/pom.xml,v retrieving revision 1.16 retrieving revision 1.17 diff -u -w -r1.16 -r1.17 --- pom.xml 28 Feb 2007 01:40:01 -0000 1.16 +++ pom.xml 29 Apr 2007 15:20:05 -0000 1.17 @@ -282,7 +282,7 @@ </plugins> </reporting> <properties> - <maven.test.skip>true</maven.test.skip> + <!--maven.test.skip>false</maven.test.skip--> <model.uri>jar:file:${pom.basedir}/src/main/uml/EJB3MetafacadeModel.xml.zip!/EJB3MetafacadeModel.xml</model.uri> <test.model.uri>jar:file:${pom.basedir}/src/test/uml/EJB3CartridgeTestModel.xml.zip!/EJB3CartridgeTestModel.xml</test.model.uri> </properties> 1.8 +622 -574 cartridges/andromda-ejb3/src/test/expected/cartridge-output.zip <<Binary file>> |
From: Vance K. <va...@us...> - 2007-04-29 13:45:06
|
User: vancek Date: 07/04/29 06:45:08 Modified: andromda-ejb3/src/site changes.xml andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades EJB3AssociationEndFacadeLogicImpl.java andromda-ejb3/src/main/resources/templates/ejb3 EntityEmbeddable.vsl andromda-ejb3/src/main/uml EJB3MetafacadeModel.xml.zip andromda-ejb3/src/main/resources/META-INF/andromda profile.xml andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Profile.java Log: ejb-51 - add support for hibernate cascade type on association ends - only when hibernate extensions is enabled Revision Changes Path 1.16 +10 -0 cartridges/andromda-ejb3/src/site/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/changes.xml,v retrieving revision 1.15 retrieving revision 1.16 diff -u -w -r1.15 -r1.16 --- changes.xml 29 Apr 2007 12:34:28 -0000 1.15 +++ changes.xml 29 Apr 2007 13:45:06 -0000 1.16 @@ -452,6 +452,16 @@ when there is a multi-level single table inhiertance hierarchy, these 2 annotations exist on every parent entity. </action> + <action dev="vancek" due-to="heapifyman" type="add"> + JIRA EJB-51 - Provide support for Hibernate cascade on association ends by modelling the + @andromda.hibernate.cascade tagged value. This will only work if Hibernate extensions is enabled + (persistenceProviderExtensions namespace property is set to hibernate). This request was for the + org.hibernate.annotations.CascadeType.DELETE_ORPHAN cascade type on the one-to-many end, however + support for this annotations is provided for all association types. It's up to the user to restrict + this annotations suitably. i.e. Only specify the DELETE_ORPHAN on the one-to-many end. + To add more than one cascade property, simply comma separate the types when setting the value of + the @andromda.hibernate.cascade tagged value. + </action> </release> </body> </document> \ No newline at end of file 1.18 +16 -0 cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3AssociationEndFacadeLogicImpl.java Index: EJB3AssociationEndFacadeLogicImpl.java =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3AssociationEndFacadeLogicImpl.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -w -r1.17 -r1.18 --- EJB3AssociationEndFacadeLogicImpl.java 17 Jan 2007 00:50:55 -0000 1.17 +++ EJB3AssociationEndFacadeLogicImpl.java 29 Apr 2007 13:45:06 -0000 1.18 @@ -972,4 +972,20 @@ } return isInterfaceSortedSet; } + + /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3AssociationEndFacadeLogic#handleGetHibernateCascadeType() + */ + protected String handleGetHibernateCascadeType() + { + return (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_HIBERNATE_CASCADE); + } + + /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3AssociationEndFacadeLogic#handleIsHibernateCascadeExists() + */ + protected boolean handleIsHibernateCascadeExists() + { + return StringUtils.isNotBlank(this.getHibernateCascadeType()) ? true : false; + } } \ No newline at end of file 1.49 +42 -7 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/EntityEmbeddable.vsl Index: EntityEmbeddable.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/EntityEmbeddable.vsl,v retrieving revision 1.48 retrieving revision 1.49 diff -u -w -r1.48 -r1.49 --- EntityEmbeddable.vsl 29 Apr 2007 12:34:29 -0000 1.48 +++ EntityEmbeddable.vsl 29 Apr 2007 13:45:06 -0000 1.49 @@ -562,6 +562,14 @@ #* *##end }) #* *##end +#* *##if ($hibernateExtensionEnabled) +#* *##if ($target.hibernateCascadeExists) +## +## Set Hibernate cascade if explicitly defined +## + @org.hibernate.annotations.Cascade({${target.hibernateCascadeType}}) +#* *##end +#* *##end #* *##end public $target.getterSetterTypeName ${target.getterName}() { @@ -614,24 +622,35 @@ #* *##elseif ($hibernateExtensionEnabled) #* *##if ($target.list) ## -## Only add the IndexColumn annotation if Hibernate extensions are enabled +## Only add the IndexColumn annotation if Hibernate extensions is enabled ## @org.hibernate.annotations.IndexColumn(name = "${target.collectionIndexName}") #* *##end #* *##end #* *##end -#* *##if ($hibernateExtensionEnabled && $target.associationCacheEnabled) +## +## Add the general Hibernate annotations if Hibernate extensions is enabled +## +#* *##if ($hibernateExtensionEnabled) +#* *##if ($target.associationCacheEnabled) ## ## Add Cache annotations if association cache and Hibernate extensions are both enabled ## @org.hibernate.annotations.Cache(usage = org.hibernate.annotations.CacheConcurrencyStrategy.${target.cacheType}) #* *##end -#* *##if ($hibernateExtensionEnabled && $target.collectionInterfaceSortedSet) +#* *##if ($target.collectionInterfaceSortedSet) ## ## Only add the Sort annotation if interface is SortedSet and Hibernate extentions are enabled ## @org.hibernate.annotations.Sort(type = org.hibernate.annotations.SortType.NATURAL) #* *##end +#* *##if ($target.hibernateCascadeExists) +## +## Set Hibernate cascade if explicitly defined +## + @org.hibernate.annotations.Cascade({${target.hibernateCascadeType}}) +#* *##end +#* *##end #* *##end public $target.getterSetterTypeName ${target.getterName}() { @@ -686,6 +705,14 @@ }) #* *##end #* *##end +#* *##if ($hibernateExtensionEnabled) +#* *##if ($target.hibernateCascadeExists) +## +## Set Hibernate cascade if explicitly defined +## + @org.hibernate.annotations.Cascade({${target.hibernateCascadeType}}) +#* *##end +#* *##end #* *##end public $target.getterSetterTypeName ${target.getterName}() @@ -757,18 +784,26 @@ #* *##end #* *##end #* *##end -#* *##if ($hibernateExtensionEnabled && $target.associationCacheEnabled) +#* *##if ($hibernateExtensionEnabled) +#* *##if ($target.associationCacheEnabled) ## ## Only add the Cache annotation if assocation cache and Hibernate extensions are both enabled ## @org.hibernate.annotations.Cache(usage = org.hibernate.annotations.CacheConcurrencyStrategy.${target.cacheType}) #* *##end -#* *##if ($hibernateExtensionEnabled && $target.collectionInterfaceSortedSet) +#* *##if ($target.collectionInterfaceSortedSet) ## ## Only add Sort annotation if collection interface is SortedSet and Hibernate extensions are enabled ## @org.hibernate.annotations.Sort(type = org.hibernate.annotations.SortType.NATURAL) #* *##end +#* *##if ($target.hibernateCascadeExists) +## +## Set Hibernate cascade if explicitly defined +## + @org.hibernate.annotations.Cascade({${target.hibernateCascadeType}}) +#* *##end +#* *##end #* *##end public $target.getterSetterTypeName ${target.getterName}() { 1.55 +257 -254 cartridges/andromda-ejb3/src/main/uml/EJB3MetafacadeModel.xml.zip <<Binary file>> 1.35 +8 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/profile.xml Index: profile.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/profile.xml,v retrieving revision 1.34 retrieving revision 1.35 diff -u -w -r1.34 -r1.35 --- profile.xml 19 Jan 2007 13:13:46 -0000 1.34 +++ profile.xml 29 Apr 2007 13:45:07 -0000 1.35 @@ -935,6 +935,14 @@ <value>REFRESH</value> </allowedValues> </element> + <element name="HIBERNATE_CASCADE_TYPE"> + <documentation> + Place a user defined Hibernate specific cascade value at an association end. + Hibernate extensions must be enabled. + </documentation> + <value>@andromda.hibernate.cascade</value> + <appliedOnElement>Association ends between <![CDATA[<<Entity>>]]> classes</appliedOnElement> + </element> <element name="ENUMERATION_TYPE"> <documentation> Specifies the enumeration type for the 1.28 +5 -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.27 retrieving revision 1.28 diff -u -w -r1.27 -r1.28 --- EJB3Profile.java 17 Jan 2007 00:50:56 -0000 1.27 +++ EJB3Profile.java 29 Apr 2007 13:45:08 -0000 1.28 @@ -847,6 +847,11 @@ profile.get("ASSOCIATION_CACHE"); /** + * Defines the tagged value for hibernate cascade on an association end + */ + public static final String TAGGEDVALUE_HIBERNATE_CASCADE = profile.get("HIBERNATE_CASCADE_TYPE"); + + /** * Defines whether query cache is enable for query. */ public static final String TAGGEDVALUE_EJB_USE_QUERY_CACHE = |
From: Vance K. <va...@us...> - 2007-04-29 12:34:30
|
User: vancek Date: 07/04/29 05:34:29 Modified: andromda-ejb3/src/site changes.xml andromda-ejb3/src/main/resources/templates/ejb3 EntityEmbeddable.vsl Log: ejb-54 - fix entity class level annotations for multi-level single table inheritance hierarchy Revision Changes Path 1.15 +6 -0 cartridges/andromda-ejb3/src/site/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/changes.xml,v retrieving revision 1.14 retrieving revision 1.15 diff -u -w -r1.14 -r1.15 --- changes.xml 25 Apr 2007 03:47:49 -0000 1.14 +++ changes.xml 29 Apr 2007 12:34:28 -0000 1.15 @@ -446,6 +446,12 @@ when a topic is durable, removal of minPoolSize activation config and rename of maxPoolSize to maxSession activation config. Reference http://galaxy.andromda.org/forum/viewtopic.php?p=21537#21537. </action> + <action dev="vancek" due-to="khwalk" type="fix"> + JIRA EJB-54 - Fix entity level annotations for multiple level single table inheritance hierarchy. When generating a one + level hierarchy, the @Table and @DiscriminatorColumn annotations exist on the top level entity. However, + when there is a multi-level single table inhiertance hierarchy, these 2 annotations exist on every parent + entity. + </action> </release> </body> </document> \ No newline at end of file 1.48 +8 -3 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/EntityEmbeddable.vsl Index: EntityEmbeddable.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/EntityEmbeddable.vsl,v retrieving revision 1.47 retrieving revision 1.48 diff -u -w -r1.47 -r1.48 --- EntityEmbeddable.vsl 16 Apr 2007 14:09:38 -0000 1.47 +++ EntityEmbeddable.vsl 29 Apr 2007 12:34:29 -0000 1.48 @@ -56,13 +56,15 @@ #**##end ## ## Include the Table annotation for a base class in single table inheritence hierarchy -## but not in the subclasses. Include in all classes for joined and table per class +## but not in the subclasses, regardless of multiple levels in the inhiertance hierarchy. +## +## Include in all classes for joined and table per class ## inheritance hierarchies. ## ## If a class is manually specified as an embeddable superclass, add ## the Table annotation to the subclass, not to the base superclass. ## -#**##if (!$entity.entityImplementationRequired && ($entity.requiresSpecializationMapping || !$entity.requiresGeneralizationMapping || ($entity.requiresGeneralizationMapping && ($entity.embeddableSuperclassGeneralizationExists || $entity.inheritanceTablePerClass || $entity.inheritanceJoined)))) +#**##if (!$entity.entityImplementationRequired && (($entity.requiresSpecializationMapping && !$entity.requiresGeneralizationMapping) || !$entity.requiresGeneralizationMapping || ($entity.requiresGeneralizationMapping && ($entity.embeddableSuperclassGeneralizationExists || $entity.inheritanceTablePerClass || $entity.inheritanceJoined)))) @javax.persistence.Table(name = "${entity.tableName}") #**##end #**##if ($entity.listenerEnabled) @@ -72,7 +74,10 @@ ## Only include the inheritance related annotations for inheritance mapping ## that doesn't involve embeddable superclass hierarchy. ## -#**##if ($entity.requiresSpecializationMapping) +## Only include the inheritance and discriminator column mapping for the top level class +## in the hierarchy, regardless of the number of levels in the hierarchy. +## +#**##if ($entity.requiresSpecializationMapping && !$entity.requiresGeneralizationMapping) @javax.persistence.Inheritance(strategy = javax.persistence.InheritanceType.${entity.inheritanceStrategy}) ## ## Discriminator components only apply to single table mapping strategy |
From: Vance K. <va...@us...> - 2007-04-25 03:47:53
|
User: vancek Date: 07/04/24 20:47:54 Modified: andromda-ejb3/src/site changes.xml andromda-ejb3/src/main/resources/templates/ejb3/config/jboss jboss.xml.vsl andromda-ejb3/src/main/uml EJB3MetafacadeModel.xml.zip andromda-ejb3/src/main/resources/META-INF/andromda metafacades.xml namespace.xml andromda-ejb3/src/main/resources/templates/ejb3/config ejb-jar.xml.vsl andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3 EJB3Globals.java andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades EJB3MessageDrivenFacadeLogicImpl.java Log: fix issues with outdated jboss mdb setting. remove minPoolSize, renamed maxPoolSize to maxSession, renamed durability to subscriptionDurability and added mdb-subscription-id to jboss.xml for durable topics Revision Changes Path 1.14 +7 -1 cartridges/andromda-ejb3/src/site/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/changes.xml,v retrieving revision 1.13 retrieving revision 1.14 diff -u -w -r1.13 -r1.14 --- changes.xml 16 Apr 2007 14:09:48 -0000 1.13 +++ changes.xml 25 Apr 2007 03:47:49 -0000 1.14 @@ -429,7 +429,7 @@ Add interceptors definition to ejb-jar.xml for the SeamInterceptor. </action> <action dev="vancek" type="update"> - By default, if a Seam component does not have it's scopte type specified, then the default stateless + By default, if a Seam component does not have it's scope type specified, then the default stateless scope type is assigned to stateless session beans and a conversation scope type is specified for all other types of beans. </action> @@ -440,6 +440,12 @@ <action dev="vancek" type="fix"> Fix URLs in howto6.xml for referencing main AndroMDA project. </action> + <action dev="vancek" due-to="Obfuscator" type="update"> + Update the cartridge to reflect the changes for MDB in JBoss 4.0.5.GA. These changes include rename of + activation config from durability to subscriptionDurability, the addition of mdb-subscription-id in jboss.xml + when a topic is durable, removal of minPoolSize activation config and rename of maxPoolSize to maxSession + activation config. Reference http://galaxy.andromda.org/forum/viewtopic.php?p=21537#21537. + </action> </release> </body> </document> \ No newline at end of file 1.5 +3 -0 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/config/jboss/jboss.xml.vsl Index: jboss.xml.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/config/jboss/jboss.xml.vsl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- jboss.xml.vsl 3 Jun 2006 15:36:48 -0000 1.4 +++ jboss.xml.vsl 25 Apr 2007 03:47:49 -0000 1.5 @@ -48,6 +48,9 @@ <message-driven> <ejb-name>${mdb.messageDrivenName}</ejb-name> <destination-jndi-name>${mdb.destination}</destination-jndi-name> +#**##if ($mdb.subscriptionDurable) + <mdb-subscription-id>${mdb.durableSubscriptionId}</mdb-subscription-id> +#**##end </message-driven> #end 1.54 +255 -285 cartridges/andromda-ejb3/src/main/uml/EJB3MetafacadeModel.xml.zip <<Binary file>> 1.33 +1 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/metafacades.xml Index: metafacades.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/metafacades.xml,v retrieving revision 1.32 retrieving revision 1.33 diff -u -w -r1.32 -r1.33 --- metafacades.xml 16 Apr 2007 14:09:43 -0000 1.32 +++ metafacades.xml 25 Apr 2007 03:47:50 -0000 1.33 @@ -227,6 +227,7 @@ <property reference="messageDrivenTopicSubscriptionDurability"/> <property reference="messageDrivenTestNamePattern"/> <property reference="messageDrivenTestPackageNamePattern"/> + <property reference="messageDrivenDurableSubscriptionIdPattern"/> </metafacade> <metafacade class="org.andromda.cartridges.ejb3.metafacades.EJB3MessageDrivenOperationFacadeLogicImpl"> <mapping> 1.39 +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.38 retrieving revision 1.39 diff -u -w -r1.38 -r1.39 --- namespace.xml 16 Apr 2007 14:09:43 -0000 1.38 +++ namespace.xml 25 Apr 2007 03:47:50 -0000 1.39 @@ -585,6 +585,13 @@ the message driven bean test class. </documentation> </property> + <property name="messageDrivenDurableSubscriptionIdPattern"> + <default>{0}SubscriptionId</default> + <documentation> + The pattern to use when constructing the durable subscription + ID for a MDB. Only use for topics with durable subscription. + </documentation> + </property> <property name="interceptorNamePattern"> <default>{0}</default> <documentation> 1.10 +4 -2 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/config/ejb-jar.xml.vsl Index: ejb-jar.xml.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/config/ejb-jar.xml.vsl,v retrieving revision 1.9 retrieving revision 1.10 diff -u -w -r1.9 -r1.10 --- ejb-jar.xml.vsl 16 Apr 2007 14:09:42 -0000 1.9 +++ ejb-jar.xml.vsl 25 Apr 2007 03:47:50 -0000 1.10 @@ -107,19 +107,21 @@ #* *##end #* *##if ($mdb.destinationTypeTopic) <activation-config-property> - <activation-config-property-name>durability</activation-config-property-name> + <activation-config-property-name>subscriptionDurability</activation-config-property-name> <activation-config-property-value>${mdb.subscriptionDurability}</activation-config-property-value> </activation-config-property> #* *##end #* *##if ($mdb.minimumPoolSize > 0) + <!-- Not available in JBoss 4.0.5+ <activation-config-property> <activation-config-property-name>minPoolSize</activation-config-property-name> <activation-config-property-value>${mdb.minimumPoolSize}</activation-config-property-value> </activation-config-property> + --> #* *##end #* *##if ($mdb.maximumPoolSize > 0) <activation-config-property> - <activation-config-property-name>maxPoolSize</activation-config-property-name> + <activation-config-property-name>maxSession</activation-config-property-name> <activation-config-property-value>${mdb.maximumPoolSize}</activation-config-property-value> </activation-config-property> #* *##end 1.15 +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.14 retrieving revision 1.15 diff -u -w -r1.14 -r1.15 --- EJB3Globals.java 10 Jul 2006 05:39:26 -0000 1.14 +++ EJB3Globals.java 25 Apr 2007 03:47:51 -0000 1.15 @@ -229,6 +229,16 @@ public static final String MDB_DESTINATION_TYPE_QUEUE = "javax.jms.Queue"; /** + * Represents the durable subscription topic + */ + public static final String MDB_SUBSCRIPTION_DURABLE = "Durable"; + + /** + * Represents the non durable subscription topic + */ + public static final String MDB_SUBSCRIPTION_NONDURABLE = "NonDurable"; + + /** * The namespace delimiter (seperates namespaces). */ public static final char NAMESPACE_DELIMITER = '.'; 1.14 +37 -0 cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3MessageDrivenFacadeLogicImpl.java Index: EJB3MessageDrivenFacadeLogicImpl.java =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3MessageDrivenFacadeLogicImpl.java,v retrieving revision 1.13 retrieving revision 1.14 diff -u -w -r1.13 -r1.14 --- EJB3MessageDrivenFacadeLogicImpl.java 18 Feb 2007 10:40:43 -0000 1.13 +++ EJB3MessageDrivenFacadeLogicImpl.java 25 Apr 2007 03:47:51 -0000 1.14 @@ -64,6 +64,12 @@ */ private static final String MESSAGE_DRIVEN_TEST_PACKAGE_NAME_PATTERN = "messageDrivenTestPackageNamePattern"; + /** + * The property which stores the pattern defining the JMS durable subscription ID + */ + private static final String MESSAGE_DRIVEN_DURABLE_SUBSCRIPTION_ID_PATTERN = + "messageDrivenDurableSubscriptionIdPattern"; + // ---------------- constructor ------------------------------- public EJB3MessageDrivenFacadeLogicImpl (Object metaObject, String context) @@ -282,6 +288,37 @@ } /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3MessageDrivenFacadeLogic#handleIsSubscriptionDurable() + */ + protected boolean handleIsSubscriptionDurable() + { + return StringUtils.equalsIgnoreCase(this.getSubscriptionDurability(), EJB3Globals.MDB_SUBSCRIPTION_DURABLE) ? + true : false; + } + + /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3MessageDrivenFacadeLogic#handleIsSubscriptionNonDurable() + */ + protected boolean handleIsSubscriptionNonDurable() + { + return StringUtils.equalsIgnoreCase(this.getSubscriptionDurability(), EJB3Globals.MDB_SUBSCRIPTION_NONDURABLE) ? + true : false; + } + + /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3MessageDrivenFacadeLogic#handleGetDurableSubscriptionId() + */ + protected String handleGetDurableSubscriptionId() + { + String durableSubscriptionIdPattern = + (String)this.getConfiguredProperty(MESSAGE_DRIVEN_DURABLE_SUBSCRIPTION_ID_PATTERN); + + return MessageFormat.format( + durableSubscriptionIdPattern, + new Object[] {StringUtils.trimToEmpty(this.getName())}); + } + + /** * @see org.andromda.cartridges.ejb3.metafacades.EJB3MessageDrivenFacade#getTransactionManagement() */ protected java.lang.String handleGetTransactionManagement() |
From: Vance K. <va...@us...> - 2007-04-23 14:41:23
|
User: vancek Date: 07/04/23 07:41:24 Modified: andromda-seam/src/main/resources/META-INF/andromda cartridge.xml Log: fix resource output patterns to detect correct lib filenames Revision Changes Path 1.2 +9 -44 cartridges/andromda-seam/src/main/resources/META-INF/andromda/cartridge.xml Index: cartridge.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-seam/src/main/resources/META-INF/andromda/cartridge.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -w -r1.1 -r1.2 --- cartridge.xml 12 Apr 2007 15:29:19 -0000 1.1 +++ cartridge.xml 23 Apr 2007 14:41:24 -0000 1.2 @@ -78,62 +78,27 @@ <resource path="lib/seam/jboss-seam.jar" - outputPattern="resources/lib/{0}" + outputPattern="resources/lib/jboss-seam.jar" outlet="application-libraries" overwrite="true" lastModifiedCheck="true"/> <resource - path="lib/seam/jboss-seam-ui.jar" - outputPattern="WEB-INF/lib/{0}" - outlet="libraries" - overwrite="true" - lastModifiedCheck="true"/> - - <resource - path="lib/seam/jboss-seam-debug.jar" - outputPattern="WEB-INF/lib/{0}" - outlet="libraries" - overwrite="true" - lastModifiedCheck="true"/> - - <resource - path="lib/seam/jboss-seam-ioc.jar" - outputPattern="WEB-INF/lib/{0}" - outlet="libraries" - overwrite="true" - lastModifiedCheck="true"/> - - <resource - path="lib/seam/jboss-seam-mail.jar" - outputPattern="WEB-INF/lib/{0}" - outlet="libraries" - overwrite="true" - lastModifiedCheck="true"/> - - <resource - path="lib/seam/jboss-seam-pdf.jar" - outputPattern="WEB-INF/lib/{0}" - outlet="libraries" - overwrite="true" - lastModifiedCheck="true"/> - - <resource - path="lib/seam/jboss-seam-remoting.jar" - outputPattern="WEB-INF/lib/{0}" + path="lib/seam/jboss-seam*.*" + outputPattern="WEB-INF/lib/jboss-seam{0}" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> <resource path="lib/seam/oscache-2.3.2.jar" - outputPattern="WEB-INF/lib/{0}" + outputPattern="WEB-INF/lib/oscache-2.3.2.jar" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> <resource - path="lib/tomahawk/*.jar" + path="lib/tomahawk/*.*" outputPattern="WEB-INF/lib/{0}" outlet="libraries" overwrite="true" @@ -141,27 +106,27 @@ <resource path="lib/facelets/jsf-facelets.jar" - outputPattern="WEB-INF/lib/{0}" + outputPattern="WEB-INF/lib/jsf-facelets.jar" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> <resource path="lib/facelets/el*.jar" - outputPattern="resources/lib/{0}" + outputPattern="resources/lib/el{0}" outlet="application-libraries" overwrite="true" lastModifiedCheck="true"/> <resource - path="lib/trinidad/*.jar" + path="lib/trinidad/*.*" outputPattern="WEB-INF/lib/{0}" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> <resource - path="lib/ajax4jsf/*.jar" + path="lib/ajax4jsf/*.*" outputPattern="WEB-INF/lib/{0}" outlet="libraries" overwrite="true" |
From: Vance K. <va...@us...> - 2007-04-16 14:15:00
|
User: vancek Date: 07/04/16 07:14:59 Added: profiles/uml-2.0/seam .cvsignore Removed: profiles/uml-2.0 .cvsignore Log: .cvsignore in wrong folder Revision Changes Path 1.1 plugins/profiles/uml-2.0/seam/.cvsignore Index: .cvsignore =================================================================== target |
From: Vance K. <va...@us...> - 2007-04-16 14:11:58
|
User: vancek Date: 07/04/16 07:11:59 Added: profiles/uml-2.0 .cvsignore Log: add .cvsignore Revision Changes Path 1.1 plugins/profiles/uml-2.0/.cvsignore Index: .cvsignore =================================================================== target |
From: Vance K. <va...@us...> - 2007-04-16 14:09:52
|
User: vancek Date: 07/04/16 07:09:52 Modified: andromda-ejb3/src/main/resources/templates/ejb3 SessionBeanBase.vsl SessionBeanImpl.vsl SessionRemote.vsl Entity.vsl EntityEmbeddable.vsl SessionLocal.vsl andromda-ejb3/src/test/uml EJB3CartridgeTestModel.xml.zip andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades EJB3SessionOperationFacadeLogicImpl.java EJB3SessionAttributeFacadeLogicImpl.java EJB3MetafacadeUtils.java EJB3SessionFacadeLogicImpl.java andromda-ejb3/src/test/expected cartridge-output.zip andromda-ejb3/src/main/resources/templates/ejb3/config ejb-jar.xml.vsl persistence.xml.vsl andromda-ejb3/src/main/resources/META-INF/andromda cartridge.xml metafacades.xml namespace.xml andromda-ejb3/src/site/axdoc howto6.xml andromda-ejb3/src/site changes.xml andromda-ejb3/src/main/uml EJB3MetafacadeModel.xml.zip Added: andromda-ejb3/src/main/resources/templates/ejb3 SessionInterface.vsl andromda-ejb3/src/main/resources/templates/ejb3/config/jboss components.xml.vsl Removed: andromda-ejb3/src/main/resources/templates/ejb3 EntityImpl.vsl SessionBean.vsl Log: JBoss Seam extension corresponding to Seam cartridge release Revision Changes Path 1.12 +11 -48 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionBeanBase.vsl Index: SessionBeanBase.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionBeanBase.vsl,v retrieving revision 1.11 retrieving revision 1.12 diff -u -w -r1.11 -r1.12 --- SessionBeanBase.vsl 4 Feb 2007 02:39:07 -0000 1.11 +++ SessionBeanBase.vsl 16 Apr 2007 14:09:37 -0000 1.12 @@ -10,35 +10,24 @@ #set ($generatedFile = "${stringUtils.replace($service.fullyQualifiedServiceBaseName,'.','/')}.java") /** - * Autogenerated EJB session bean base class ${service.serviceName}. + * Autogenerated EJB3 session bean base class ${service.serviceName} which contains + * method level annotations for the session bean. All method level annotations + * are inherited by the extending session bean class. #if ($service.stateful) * * ${service.serviceName} is a stateful session bean and implements Serializable to maintain * state when bean instance not in use. #end +#if ($service.seamComponent) * + * This Seam component is defined through META-INF/components.xml rather than + * class level annotations. +#end $service.getDocumentation(" * ") */ -## -## Define the Seam component name for the class if JBoss Seam is enabled -## -#**##if ($service.seamComponent) -...@or...("${service.seamComponentName}") -#* *##if ($stringUtils.isNotBlank($service.seamComponentScopeType)) -...@or...ope(org.jboss.seam.ScopeType.${service.seamComponentScopeType}) -#* *##end -#* *##if ($service.seamComponentStartup) -...@or...artup#if ($stringUtils.isNotEmpty($service.seamComponentStartupOptions))$service.seamComponentStartupOptions#end -#* *##end -#**##end #if ($service.transactionManagement) @javax.ejb.TransactionManagement(javax.ejb.TransactionManagementType.${service.transactionManagement}) #end -#if (!$service.transactionManagementBean) -#**##if ($service.transactionType) -...@ja...ansactionAttribute(javax.ejb.TransactionAttributeType.${service.transactionType}) -#**##end -#end #if ($service.securityEnabled) #**##if ($service.persistenceContainerJboss) @org.jboss.annotation.security.SecurityDomain("${service.securityRealm}") @@ -57,33 +46,14 @@ @org.jboss.annotation.ejb.LocalBinding(jndiBinding = "${service.jndiNameLocal}") #**##end #end -#if ($service.viewTypeLocal) -@javax.ejb.Local({${service.fullyQualifiedServiceLocalInterfaceName}.class}) -#end -#if ($service.viewTypeRemote) -...@ja...mote({${service.fullyQualifiedServiceRemoteInterfaceName}.class}) -#end #if ($service.clusteringEnabled) @org.jboss.annotation.ejb.Clustered #end -#set ($interceptors = $service.interceptorReferences) -#if ($collectionUtils.size($interceptors) >= 1 || $service.listenerEnabled) -#**##if ($service.listenerEnabled) -#* *##set ($lifecycleCallback = "${service.fullyQualifiedServiceListenerName}.class") -#**##else -#* *##set ($lifecycleCallback = "") -#**##end -// Lifecycle callback listeners and interceptors are defined in ejb-jar.xml -// @javax.interceptor.Interceptors({$transform.getInterceptorsAsList(${interceptors}, ${lifecycleCallback})}) -#end -#if ($service.excludeDefaultInterceptors) -// @javax.interceptor.ExcludeDefaultInterceptors -#end public abstract class ${service.serviceBaseName} #if($service.generalization) extends ${service.generalization.fullyQualifiedServiceName} #end - implements#if ($service.viewTypeLocal) ${service.fullyQualifiedServiceLocalInterfaceName}#if ($service.viewTypeRemote),#end#end#if ($service.viewTypeRemote) ${service.fullyQualifiedServiceRemoteInterfaceName}#end#if ($service.stateful), java.io.Serializable#end + implements ${service.fullyQualifiedServiceInterfaceName}#if ($service.stateful), java.io.Serializable#end { // ------ Session Context Injection ------ @@ -367,7 +337,7 @@ $operation.getDocumentation(" * ") */ #* *##if (!$service.transactionManagementBean) -#* *##if ($operation.transactionType) +#* *##if ($stringUtils.isNotBlank($operation.transactionType)) @javax.ejb.TransactionAttribute(javax.ejb.TransactionAttributeType.${operation.transactionType}) #* *##end #* *##end @@ -570,17 +540,10 @@ /** * Remove lifecycle method */ - @javax.ejb.Remove #* *##if ($service.seamComponent) @org.jboss.seam.annotations.Destroy #* *##end - public void destroy() { - handleDestroy(); - } - - /** - * Performs the core logic for {@link #destroy()) - */ - protected abstract void handleDestroy(); + @javax.ejb.Remove + public void destroy() {} #end } \ No newline at end of file 1.16 +36 -21 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionBeanImpl.vsl Index: SessionBeanImpl.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionBeanImpl.vsl,v retrieving revision 1.15 retrieving revision 1.16 diff -u -w -r1.15 -r1.16 --- SessionBeanImpl.vsl 17 Jan 2007 00:50:56 -0000 1.15 +++ SessionBeanImpl.vsl 16 Apr 2007 14:09:37 -0000 1.16 @@ -8,27 +8,54 @@ #set ($generatedFile = "${stringUtils.replace($service.fullyQualifiedServiceName,'.','/')}.java") /** - * @see ${service.fullyQualifiedServiceName} - */ -/** + * @see ${service.fullyQualifiedServiceBaseName} + * + * Remember to manually configure the local business interface this bean implements if originally you only + * defined the remote business interface. However, this change is automatically reflected in the ejb-jar.xml. + * +#if (!$service.seamComponent) * Do not specify the javax.ejb.${service.type} annotation - * Instead, define the session bean in the ejb-jar.xml descriptor - * @javax.ejb.${service.type} + * Instead, the session bean is defined in the ejb-jar.xml descriptor. */ +#else + * This session bean is a Seam component. Currently, Seam components + * must have the bean type specified via annotations. Once this has been + * fixed in Seam 1.2.1, it is enough to define the session bean + * in ejb-jar.xml and we can safely remove this annotation. + */ +@javax.ejb.${service.type} +#**##if ($service.seamComponentStartup) +...@or...artup#if ($stringUtils.isNotEmpty($service.seamComponentStartupOptions))$service.seamComponentStartupOptions#end +#**##else +// Uncomment to define Seam startup +// @org.jboss.seam.annotations.Startup#if ($stringUtils.isNotEmpty($service.seamComponentStartupOptions))$service.seamComponentStartupOptions#end + +#**##end +#end #if ($service.webServiceEnabled) @javax.jws.WebService(endpointInterface = "${service.fullyQualifiedWebServiceInterfaceName}") #else -/** - * Uncomment to enable webservices for ${service.serviceName} - *@javax.jws.WebService(endpointInterface = "${service.fullyQualifiedWebServiceInterfaceName}") - */ +// Uncomment to enable webservices for ${service.serviceName} +// @javax.jws.WebService(endpointInterface = "${service.fullyQualifiedWebServiceInterfaceName}") #end public class ${service.serviceName} extends ${service.fullyQualifiedServiceBaseName} + implements#if ($service.viewTypeLocal) ${service.fullyQualifiedServiceLocalInterfaceName}#if ($service.viewTypeRemote),#end#end#if ($service.viewTypeRemote) ${service.fullyQualifiedServiceRemoteInterfaceName}#end + { +#if ($service.stateful) + /** + * Bean serial version ID + */ + private static final long serialVersionUID = 1L; +#end + // --------------- Constructors --------------- ## Default create method with no arguments. + /** + * Default constructor extending base class default constructor + */ public ${service.serviceName}() { super(); @@ -117,16 +144,4 @@ #* *##end #**##end #end -#if ($service.stateful) - - // ----------- Destroy Method Implementation ----------- - - /** - * @see ${service.fullyQualifiedServiceName}#destroy() - */ - protected void handleDestroy() - { - //TODO: put your implementation here - } -#end } 1.8 +13 -51 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionRemote.vsl Index: SessionRemote.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionRemote.vsl,v retrieving revision 1.7 retrieving revision 1.8 diff -u -w -r1.7 -r1.8 --- SessionRemote.vsl 17 Jan 2007 00:50:56 -0000 1.7 +++ SessionRemote.vsl 16 Apr 2007 14:09:37 -0000 1.8 @@ -10,55 +10,23 @@ /** * Remote component interface for the ${service.serviceName} session bean. +#if ($service.seamComponent) + * The service that implement this business interface is a Seam component. The cartridge + * will not expose this interface as a Remote business interface for the bean + * component. Seam components will only have a Local business interface. +#end $service.getDocumentation(" * ") */ -public interface ${service.serviceRemoteInterfaceName} -#if ($service.generalization) - extends ${service.generalization.fullyQualifiedName}Remote +## +## Do not render this annotation if the session bean is a Seam component. +## We only expose the Local business interface for Seam components. +## +#if (!$service.seamComponent) +...@ja...mote #end +public interface ${service.serviceRemoteInterfaceName} + extends ${service.serviceInterfaceName}#if ($service.generalization), ${service.generalization.fullyQualifiedName}Remote#end { -#set ($constants = $service.constants) -#if (!$constants.empty) - - // ---------- Accessors For Constants ----------- - -#**##foreach($constant in $constants) -## Only expose the method if it is public. -#* *##if($constant.visibility == "public") - /** - * Get the $attribute.name constant -$constant.getDocumentation(" * ") - */ - public $constant.type.fullyQualifiedName ${constant.getterName}(); - -#* *##end -#**##end -#end -#set ($attributes = $service.filterSeamAttributes(${service.instanceAttributes})) -#if (!$attributes.empty) - - // --------------- Attributes --------------------- - -#**##foreach ($attribute in $attributes) -## Only expose the method to the component interface if it is public. -#* *##if ($attribute.visibility == "public") - /** - * Get the $attribute.name property -$attribute.getDocumentation(" * ") - */ - public $attribute.type.fullyQualifiedName ${attribute.getterName}(); - -#* *##if(!$attribute.readOnly) - /** - * Set the $attribute.name property - * @param value the new value - */ - public void ${attribute.setterName}($attribute.type.fullyQualifiedName value); - -#* *##end -#* *##end -#**##end -#end #set ($operations = $service.businessOperations) #if (!$operations.empty) @@ -84,10 +52,4 @@ #* *##end #**##end #end -#if ($service.stateful) - - // ------------ Lifecycle Methods ----------------- - - public void destroy(); -#end } \ No newline at end of file 1.22 +0 -11 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/Entity.vsl Index: Entity.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/Entity.vsl,v retrieving revision 1.21 retrieving revision 1.22 diff -u -w -r1.21 -r1.22 --- Entity.vsl 28 Feb 2007 00:56:18 -0000 1.21 +++ Entity.vsl 16 Apr 2007 14:09:38 -0000 1.22 @@ -20,17 +20,6 @@ */ @javax.persistence.Entity -#if ($entity.seamComponent) -...@or...("${entity.seamComponentName}") -#**##if ($stringUtils.isNotBlank($entity.seamComponentScopeType)) -...@or...ope(org.jboss.seam.ScopeType.${entity.seamComponentScopeType}) -#**##end -#else -// Uncomment to enable seam component name -// @org.jboss.seam.annotations.Name("${entity.seamComponentName}") -// Uncomment to set specific component scope type -//@org.jboss.seam.annotations.Scope(org.jboss.seam.ScopeType.#if ($entity.stateless)STATELESS#else#**#CONVERSATION#end) -#end @javax.persistence.Table(name = "${entity.tableName}") #if ($entity.listenerEnabled) @javax.persistence.EntityListeners({${entity.fullyQualifiedEntityListenerName}.class}) 1.47 +5 -2 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/EntityEmbeddable.vsl Index: EntityEmbeddable.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/EntityEmbeddable.vsl,v retrieving revision 1.46 retrieving revision 1.47 diff -u -w -r1.46 -r1.47 --- EntityEmbeddable.vsl 26 Mar 2007 12:01:06 -0000 1.46 +++ EntityEmbeddable.vsl 16 Apr 2007 14:09:38 -0000 1.47 @@ -478,9 +478,12 @@ #* *##end #* *##if ($hibernateExtensionEnabled && $entity.seamComponent) ## -## If JBoss Seam and Hibernate extensions are both enabled, add NotNull and Length annotations +## If JBoss Seam and Hibernate extensions are both enabled, add NotNull and Length annotations where required +## +#* *##if (!$attribute.columnNullable && !($entity.dynamicIdentifiersPresent && $attribute.identifier)) +## +## Only specify this validator if identifier explicity specified and explicity set as not null ## -#* *##if (!$attribute.columnNullable) @org.hibernate.validator.NotNull #* *##end #* *##if ($attribute.columnLength) 1.8 +14 -55 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionLocal.vsl Index: SessionLocal.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionLocal.vsl,v retrieving revision 1.7 retrieving revision 1.8 diff -u -w -r1.7 -r1.8 --- SessionLocal.vsl 17 Jan 2007 00:50:56 -0000 1.7 +++ SessionLocal.vsl 16 Apr 2007 14:09:39 -0000 1.8 @@ -10,55 +10,17 @@ /** * Local component interface for the ${service.serviceName} session bean. +#if ($service.seamComponent) + * The service that implement this business interface is a Seam component. The cartridge + * only exposes this interface as a Local business interface for the Seam bean + * component. +#end $service.getDocumentation(" * ") */ +@javax.ejb.Local public interface ${service.serviceLocalInterfaceName} -#if($service.generalization) - extends ${service.generalization.fullyQualifiedName}Local -#end + extends ${service.serviceInterfaceName}#if($service.generalization), ${service.generalization.fullyQualifiedName}Local#end { -#set ($constants = $service.constants) -#if (!$constants.empty) - - // ----------- Accessors For Constants ------------ - -#**##foreach($constant in $constants) -## Only expose the method if it is public. -#* *##if($constant.visibility == "public") - /** - * Get the $attribute.name constant -$constant.getDocumentation(" * ") - */ - public $constant.type.fullyQualifiedName ${constant.getterName}(); - -#* *##end -#**##end -#end -#set ($attributes = $service.filterSeamAttributes(${service.instanceAttributes})) -#if (!$attributes.empty) - - // --------------- Attributes --------------------- - -#**##foreach ($attribute in $attributes) -## Only expose the method to the component interface if it is public. -#* *##if ($attribute.visibility == "public") - /** - * Get the $attribute.name property -$attribute.getDocumentation(" * ") - */ - public $attribute.type.fullyQualifiedName ${attribute.getterName}(); - -#* *##if(!$attribute.readOnly) - /** - * Set the $attribute.name property - * @param value the new value - */ - public void ${attribute.setterName}($attribute.type.fullyQualifiedName value); - -#* *##end -#* *##end -#**##end -#end #set ($operations = $service.businessOperations) #if (!$operations.empty) @@ -68,11 +30,13 @@ ## ## Only expose methods that are not lifecycle callbacks ## Only expose public methods with local view type accessability +## or if the session bean is a Seam component, then expose all methods ## -#* *##if ($operation.viewTypeAbsoluteLocal) +#* *##if ($operation.viewTypeAbsoluteLocal || $service.seamComponent) /** $operation.getDocumentation(" * ") */ +#* *##if ($operation.visibility == "public") #* *##set ($returnType = $operation.returnType.fullyQualifiedName) #* *##if ($operation.exceptionsPresent) public $returnType $operation.signature @@ -80,14 +44,9 @@ #* *##else public $returnType $operation.signature; #* *##end +#* *##end #* *##end #**##end #end -#if ($service.stateful) - - // ------------ Lifecycle Methods ----------------- - - public void destroy(); -#end } \ No newline at end of file 1.1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionInterface.vsl Index: SessionInterface.vsl =================================================================== // license-header java merge-point // // Attention: Generated code! Do not modify by hand! // Generated by: SessionInterface.vsl in andromda-ejb3-cartridge. // #if ($stringUtils.isNotBlank($service.packageName)) package $service.packageName; #end #set ($generatedFile = "${stringUtils.replace($service.fullyQualifiedServiceInterfaceName,'.','/')}.java") /** * Parent interface for the ${service.serviceName} session bean which is * extended by Local and Remote business interfaces. Contains constant * and attribute accessor method definitions. */ public interface ${service.serviceInterfaceName} #if($service.generalization) extends ${service.generalization.fullyQualifiedServiceInterfaceName} #end { #set ($constants = $service.constants) #if (!$constants.empty) // ----------- Accessors For Constants ------------ #**##foreach($constant in $constants) ## Only expose the method if it is public. #* *##if($constant.visibility == "public") /** * Get the $attribute.name constant $constant.getDocumentation(" * ") */ public $constant.type.fullyQualifiedName ${constant.getterName}(); #* *##end #**##end #end #set ($attributes = $service.filterSeamAttributes(${service.instanceAttributes})) #if (!$attributes.empty) // --------------- Attributes --------------------- #**##foreach ($attribute in $attributes) ## Only expose the method to the component interface if it is public. #* *##if ($attribute.visibility == "public") /** * Get the $attribute.name property $attribute.getDocumentation(" * ") */ public $attribute.type.fullyQualifiedName ${attribute.getterName}(); #* *##if(!$attribute.readOnly) /** * Set the $attribute.name property * @param value the new value */ public void ${attribute.setterName}($attribute.type.fullyQualifiedName value); #* *##end #* *##end #**##end #end #if ($service.stateful) // ------------ Lifecycle Methods ----------------- public void destroy(); #end } 1.6 +317 -264 cartridges/andromda-ejb3/src/test/uml/EJB3CartridgeTestModel.xml.zip <<Binary file>> 1.18 +19 -17 cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3SessionOperationFacadeLogicImpl.java Index: EJB3SessionOperationFacadeLogicImpl.java =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3SessionOperationFacadeLogicImpl.java,v retrieving revision 1.17 retrieving revision 1.18 diff -u -w -r1.17 -r1.18 --- EJB3SessionOperationFacadeLogicImpl.java 4 Feb 2007 02:45:06 -0000 1.17 +++ EJB3SessionOperationFacadeLogicImpl.java 16 Apr 2007 14:09:40 -0000 1.18 @@ -258,6 +258,8 @@ /** * @see org.andromda.cartridges.ejb3.metafacades.EJB3SessionOperationFacadeLogic#handleGetTransactionType() + * + * If no method level transaction type specified, take it from the class level if it exists there. */ protected String handleGetTransactionType() { @@ -268,8 +270,8 @@ } else { - transType = StringUtils.trimToEmpty( - ObjectUtils.toString(this.getConfiguredProperty(EJB3Globals.TRANSACTION_TYPE))); + EJB3SessionFacade session = (EJB3SessionFacade)this.getOwner(); + transType = session.getTransactionType(); } return transType; } @@ -700,13 +702,13 @@ String value = (String) this.findTaggedValue(EJB3Profile.TAGGEDVALUE_SEAM_BIJECTION_FACTORY_VALUE); if(StringUtils.isNotBlank(value)) { - parameters.add("\"" + value + "\""); + parameters.add("value = \"" + value + "\""); } String scope = (String) this.findTaggedValue(EJB3Profile.TAGGEDVALUE_SEAM_BIJECTION_FACTORY_SCOPE_TYPE); if(StringUtils.isNotBlank(scope)) { - parameters.add("scope=" + scope); + parameters.add("scope = org.jboss.seam.ScopeType." + scope); } return EJB3MetafacadeUtils.buildAnnotationParameters(parameters); @@ -735,7 +737,7 @@ String flushMode = (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_SEAM_CONVERSATION_BEGIN_FLUSH_MODE); if(StringUtils.isNotBlank(flushMode)) { - parameters.add("flushMode=FlushModeType." + flushMode); + parameters.add("flushMode = org.jboss.seam.annotations.FlushModeType." + flushMode); } String pageflow = (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_SEAM_CONVERSATION_BEGIN_PAGEFLOW); @@ -789,7 +791,7 @@ EJB3Profile.TAGGEDVALUE_SEAM_CONVERSATION_BEGIN_TASK_FLUSH_MODE); if(StringUtils.isNotBlank(flushMode)) { - parameters.add("flushMode=\"" + flushMode + "\""); + parameters.add("flushMode = org.jboss.seam.annotations.FlushModeType." + flushMode + "\""); } String taskIdParameter = (String)this.findTaggedValue( @@ -950,7 +952,7 @@ EJB3Profile.TAGGEDVALUE_SEAM_CONVERSATION_START_TASK_FLUSH_MODE); if (StringUtils.isNotBlank(flushMode)) { - parameters.add("flushMode=" + flushMode); + parameters.add("flushMode = org.jboss.seam.annotations.FlushModeType." + flushMode); } String taskIdParameter = (String)this.findTaggedValue( 1.4 +12 -12 cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3SessionAttributeFacadeLogicImpl.java Index: EJB3SessionAttributeFacadeLogicImpl.java =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3SessionAttributeFacadeLogicImpl.java,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- EJB3SessionAttributeFacadeLogicImpl.java 17 Jan 2007 00:50:55 -0000 1.3 +++ EJB3SessionAttributeFacadeLogicImpl.java 16 Apr 2007 14:09:40 -0000 1.4 @@ -108,7 +108,7 @@ String scope = (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_SEAM_BIJECTION_OUT_SCOPE_TYPE, true); if(StringUtils.isNotBlank(scope)) { - parameters.add("scope=\"" + scope + "\""); + parameters.add("scope = org.jboss.seam.ScopeType." + scope); } String value = (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_SEAM_BIJECTION_OUT_VALUE, true); @@ -155,7 +155,7 @@ String scope = (String)this.findTaggedValue(EJB3Profile.TAGGEDVALUE_SEAM_DATA_DATAMODEL_SCOPE_TYPE, true); if(StringUtils.isNotBlank(scope)) { - parameters.add("scope=\"" + scope + "\""); + parameters.add("scope = org.jboss.seam.ScopeType." + scope); } return EJB3MetafacadeUtils.buildAnnotationParameters(parameters); 1.10 +15 -3 cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3MetafacadeUtils.java Index: EJB3MetafacadeUtils.java =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3MetafacadeUtils.java,v retrieving revision 1.9 retrieving revision 1.10 diff -u -w -r1.9 -r1.10 --- EJB3MetafacadeUtils.java 1 Feb 2007 14:32:10 -0000 1.9 +++ EJB3MetafacadeUtils.java 16 Apr 2007 14:09:41 -0000 1.10 @@ -366,13 +366,25 @@ * If the Classifier is an entity or stateful session bean, then returns CONVERSATION * * @param classifier The classifier to lookup the scope type tagged value - * @paam stateful Whether the classifier is a stateful session bean + * @paam stateless Whether the classifier is a stateless session bean * @return The scope type as a String */ static String getSeamComponentScopeType(ClassifierFacade classifier, boolean stateless) { ExceptionUtils.checkNull("classifer", classifier); - return (String)classifier.findTaggedValue(EJB3Profile.TAGGEDVALUE_SEAM_SCOPE_TYPE); + String scopeType = (String)classifier.findTaggedValue(EJB3Profile.TAGGEDVALUE_SEAM_SCOPE_TYPE); + if (StringUtils.isBlank(scopeType)) + { + if (stateless) + { + scopeType = EJB3Globals.SEAM_COMPONENT_SCOPE_STATELESS; + } + else + { + scopeType = EJB3Globals.SEAM_COMPONENT_SCOPE_CONVERSATION; + } + } + return scopeType; } /** 1.22 +31 -4 cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3SessionFacadeLogicImpl.java Index: EJB3SessionFacadeLogicImpl.java =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/java/org/andromda/cartridges/ejb3/metafacades/EJB3SessionFacadeLogicImpl.java,v retrieving revision 1.21 retrieving revision 1.22 diff -u -w -r1.21 -r1.22 --- EJB3SessionFacadeLogicImpl.java 11 Feb 2007 14:06:37 -0000 1.21 +++ EJB3SessionFacadeLogicImpl.java 16 Apr 2007 14:09:41 -0000 1.22 @@ -40,6 +40,11 @@ public static final String SERVICE_NAME_PATTERN = "serviceNamePattern"; /** + * The property which stores the pattern defining the service bean parent interface name. + */ + public static final String SERVICE_INTERFACE_NAME_PATTERN = "serviceInterfaceNamePattern"; + + /** * The property which stores the pattern defining the service bean local interface name. */ public static final String SERVICE_LOCAL_INTERFACE_NAME_PATTERN = "serviceLocalInterfaceNamePattern"; @@ -483,8 +488,7 @@ */ protected java.lang.String handleGetTransactionType() { - return EJB3MetafacadeUtils.getTransactionType(this, - String.valueOf(this.getConfiguredProperty(EJB3Globals.TRANSACTION_TYPE))); + return EJB3MetafacadeUtils.getTransactionType(this, null); } /** @@ -535,6 +539,19 @@ } /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3SessionFacadeLogic#handleGetServiceInterfaceName() + */ + protected String handleGetServiceInterfaceName() + { + String serviceInterfaceNamePattern = + (String)this.getConfiguredProperty(SERVICE_INTERFACE_NAME_PATTERN); + + return MessageFormat.format( + serviceInterfaceNamePattern, + new Object[] {StringUtils.trimToEmpty(this.getName())}); + } + + /** * @see org.andromda.cartridges.ejb3.metafacades.EJB3SessionFacadeLogic#handleGetServiceLocalInterfaceName() */ protected String handleGetServiceLocalInterfaceName() @@ -660,6 +677,17 @@ } /** + * @see org.andromda.cartridges.ejb3.metafacades.EJB3SessionFacadeLogic#handleGetFullyQualifiedServiceInterfaceName() + */ + protected String handleGetFullyQualifiedServiceInterfaceName() + { + return EJB3MetafacadeUtils.getFullyQualifiedName( + this.getPackageName(), + this.getServiceInterfaceName(), + null); + } + + /** * @see org.andromda.cartridges.ejb3.metafacades.EJB3SessionFacadeLogic#handleGetFullyQualifiedServiceLocalInterfaceName() */ protected String handleGetFullyQualifiedServiceLocalInterfaceName() @@ -1342,5 +1370,4 @@ { return this.hasStereotype(EJB3Profile.STEREOTYPE_SEAM_TRANSACTION_TRANSACTIONAL); } - } \ No newline at end of file 1.7 +836 -790 cartridges/andromda-ejb3/src/test/expected/cartridge-output.zip <<Binary file>> 1.9 +12 -1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/config/ejb-jar.xml.vsl Index: ejb-jar.xml.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/config/ejb-jar.xml.vsl,v retrieving revision 1.8 retrieving revision 1.9 diff -u -w -r1.8 -r1.9 --- ejb-jar.xml.vsl 1 Dec 2006 02:52:22 -0000 1.8 +++ ejb-jar.xml.vsl 16 Apr 2007 14:09:42 -0000 1.9 @@ -19,7 +19,10 @@ ]]> </description> <ejb-name>${service.serviceName}</ejb-name> -#**##if ($service.viewTypeRemote) +## +## Only define the remote business interface if the bean is NOT a Seam component +## +#**##if ($service.viewTypeRemote && !$service.seamComponent) <remote>${service.fullyQualifiedServiceRemoteInterfaceName}</remote> #**##end #**##if ($service.viewTypeLocal) @@ -140,7 +143,15 @@ #end </enterprise-beans> +#if (${seamEnabled} == 'true') + <interceptors> + <interceptor> + <interceptor-class>org.jboss.seam.ejb.SeamInterceptor</interceptor-class> + </interceptor> + </interceptors> + +#end <assembly-descriptor> #foreach ($interceptor in $interceptors) ## 1.5 +2 -5 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/config/persistence.xml.vsl Index: persistence.xml.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/config/persistence.xml.vsl,v retrieving revision 1.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- persistence.xml.vsl 13 Feb 2007 02:41:40 -0000 1.4 +++ persistence.xml.vsl 16 Apr 2007 14:09:43 -0000 1.5 @@ -3,17 +3,14 @@ Attention: Generated code! Do not modify by hand! Generated by: persistence.xml.vsl in andromda-ejb3-cartridge. --> -<persistence> - -<!-- <persistence xmlns="http://java.sun.com/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd" version="1.0"> ---> <persistence-unit name="${entityManagerName}"> + <provider>org.hibernate.ejb.HibernatePersistence</provider> #if ($stringUtils.isNotBlank(${dataSource})) <jta-data-source>${dataSource}</jta-data-source> #end 1.38 +32 -2 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/cartridge.xml Index: cartridge.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/cartridge.xml,v retrieving revision 1.37 retrieving revision 1.38 diff -u -w -r1.37 -r1.38 --- cartridge.xml 17 Feb 2007 14:09:08 -0000 1.37 +++ cartridge.xml 16 Apr 2007 14:09:43 -0000 1.38 @@ -175,6 +175,19 @@ </template> <template + path="templates/ejb3/SessionInterface.vsl" + outputPattern="$generatedFile" + outlet="session-beans" + overwrite="true" + generateEmptyFiles="true"> + <modelElements variable="service"> + <modelElement> + <type name="org.andromda.cartridges.ejb3.metafacades.EJB3SessionFacade"/> + </modelElement> + </modelElements> + </template> + + <template path="templates/ejb3/SessionLocal.vsl" outputPattern="$generatedFile" outlet="session-beans" @@ -438,6 +451,23 @@ </template> <template + path="templates/ejb3/config/jboss/components.xml.vsl" + outputPattern="META-INF/components.xml" + outlet="session-config" + overwrite="true" + outputToSingleFile="true" + outputOnEmptyElements="false"> + <modelElements> + <modelElement variable="services"> + <type name="org.andromda.cartridges.ejb3.metafacades.EJB3SessionFacade"/> + </modelElement> + <modelElement variable="entities"> + <type name="org.andromda.cartridges.ejb3.metafacades.EJB3EntityFacade"/> + </modelElement> + </modelElements> + </template> + + <template path="templates/ejb3/config/jboss/login-config.xml.vsl" outputPattern="$generatedFile" outlet="application-metainf" 1.32 +1 -0 cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/metafacades.xml Index: metafacades.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/META-INF/andromda/metafacades.xml,v retrieving revision 1.31 retrieving revision 1.32 diff -u -w -r1.31 -r1.32 --- metafacades.xml 18 Feb 2007 10:40:41 -0000 1.31 +++ metafacades.xml 16 Apr 2007 14:09:43 -0000 1.32 @@ -10,6 +10,7 @@ <property reference="labelCollectionNamePattern"/> <property reference="labelSingleNamePattern"/> <property reference="serviceNamePattern"/> + <property reference="serviceInterfaceNamePattern"/> <property reference="serviceLocalInterfaceNamePattern"/> <property reference="serviceRemoteInterfaceName"/> <property reference="serviceImplementationNamePattern"/> 1.38 +8 -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.37 retrieving revision 1.38 diff -u -w -r1.37 -r1.38 --- namespace.xml 18 Feb 2007 10:40:41 -0000 1.37 +++ namespace.xml 16 Apr 2007 14:09:43 -0000 1.38 @@ -463,6 +463,13 @@ "Bean". </documentation> </property> + <property name="serviceInterfaceNamePattern"> + <default>{0}</default> + <documentation> + The pattern to use when constructing the service + bean parent interface name. + </documentation> + </property> <property name="serviceLocalInterfaceNamePattern"> <default>{0}Local</default> <documentation> @@ -1221,7 +1228,7 @@ <li>NEVER</li> </ul> <strong>NOTE:</strong> - Can be overridden on a per entity basis with the + Can be overridden on a per bean/bean operation basis with the <a href="profile.html#@andromda_ejb_transaction_type"> @andromda.ejb.transaction.type 1.4 +8 -5 cartridges/andromda-ejb3/src/site/axdoc/howto6.xml Index: howto6.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/axdoc/howto6.xml,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- howto6.xml 24 Jan 2007 08:56:20 -0000 1.3 +++ howto6.xml 16 Apr 2007 14:09:47 -0000 1.4 @@ -34,10 +34,13 @@ entity's implementation class (they are considered to be business operations). </p> <p> - The documentation discussing the modeling of queries in UML is found here: - <a href="../andromda-ocl-query-library/modeling.html">Query Translation-Library Modeling</a>. + The documentation discussing the modelling of queries in OCL is found on the AndroMDA main + project in <a href="http://galaxy.andromda.org/docs/andromda-translation-libraries/index.html"> + Translation Libraries</a> and + <a href="http://galaxy.andromda.org/docs/andromda-translation-libraries/andromda-ocl-translation-libraries/andromda-ocl-query-library/modeling.html"> + Query Translation Library Modelling</a>. The tagged value overriding queries using EJB QL directly is found here: - <a href="../profile.html#@andromda_ejb_query">@andromda.ejb.query</a>. + <a href="http://galaxy.andromda.org/docs/andromda-ejb-cartridge/profile.html#@andromda_ejb_query">@andromda.ejb.query</a>. </p> <p> <img src="images/org/andromda/test/6/a/uml.gif"/> @@ -138,7 +141,7 @@ <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate</artifactId> - <version>3.2.1.ga</version> + <version>3.2.0.ga</version> <scope>provided</scope> </dependency> ... @@ -163,7 +166,7 @@ </p> <p> You can then model a <i>Classifier</i> scoped operation in your Entity such that you can - over-write the implementation in the DAOImpl (DAP implementation) and use the session object to + over-write the implementation in the DAOImpl (DAO implementation) and use the session object to create the criteria and perform the query. </p> <p> 1.13 +42 -0 cartridges/andromda-ejb3/src/site/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/site/changes.xml,v retrieving revision 1.12 retrieving revision 1.13 diff -u -w -r1.12 -r1.13 --- changes.xml 26 Mar 2007 12:01:05 -0000 1.12 +++ changes.xml 16 Apr 2007 14:09:48 -0000 1.13 @@ -398,6 +398,48 @@ mapped superclass or specializes another entity. This also cleaned up the constructor implementation in the inheriting entity. </action> + <action dev="vancek" type="fix"> + If transaction type specified on the class level and not on the method level, do not generate the + @TransactionAttribute on the method. Similarly, if not modelled on the class level, do not generate it there. + It doesn't make sense to have this annotation at the class level of the parent bean as class level annotations + are not inherited. + </action> + <action dev="vancek" type="update"> + Remove handleDestroy abstract method in SessionBeanBase. This was not being called correctly by + Seam. + </action> + <action dev="vancek" type="update"> + Session bean base or super classes now extend a super interface. Local and remote business interfaces + extend this super interface. Session bean implementations now extend the business interface(s). + This does introduce manual modification when refactoring a session bean's business interface. + The super interface contains common constants and attribute mutator definitions. + </action> + <action dev="vancek" type="update"> + Update persistence.xml descriptor with schema and namespace attributes. + Added provider org.hibernate.ejb.HibernatePersistence property. + </action> + <action dev="vancek" type="add"> + Expand on JBoss Seam support. Move Entity and Session bean Seam component declaration to newly added + components.xml. + This means removing @org.jboss.seam.annotations.Name and @org.jboss.seam.annotations.Scope annotations. + Only specify the @org.hibernate.validator.NotNull annotation on identifier attributes in entity Seam pojos + if identifer is explicity modelled and explicity defined as not null. + The ejb-jar.xml descriptor will NOT allow remote business interface declaration where the session bean + is a Seam component. + Add interceptors definition to ejb-jar.xml for the SeamInterceptor. + </action> + <action dev="vancek" type="update"> + By default, if a Seam component does not have it's scopte type specified, then the default stateless + scope type is assigned to stateless session beans and a conversation scope type is specified for all + other types of beans. + </action> + <action dev="vancek" type="fix"> + Specify the full package path for ScopeType and FlushModeType where the scope + or the flushMode parameters are required in Seam annotations. + </action> + <action dev="vancek" type="fix"> + Fix URLs in howto6.xml for referencing main AndroMDA project. + </action> </release> </body> </document> \ No newline at end of file 1.1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/config/jboss/components.xml.vsl Index: components.xml.vsl =================================================================== #parse("templates/ejb3/common/JNDIMacros.vm") <?xml version="1.0" encoding="UTF-8"?> <components xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.1.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.1.xsd"> #foreach ($service in $services) #**##if ($service.seamComponent) #localJndiName($service true) <component name="${service.seamComponentName}" class="${service.fullyQualifiedServiceName}" scope="${service.seamComponentScopeType}" jndi-name="${jndiName}"/> #**##end #end #foreach ($entity in $entities) #**##if ($entity.seamComponent) <component name="${entity.seamComponentName}" class="${entity.fullyQualifiedEntityName}" scope="${entity.seamComponentScopeType}"/> #**##end #end <!-- seam-components merge-point --> </components> 1.53 +284 -262 cartridges/andromda-ejb3/src/main/uml/EJB3MetafacadeModel.xml.zip <<Binary file>> |
From: Vance K. <va...@us...> - 2007-04-16 14:04:10
|
User: vancek Date: 07/04/16 07:04:11 Modified: . pom.xml Log: add andromda-seam cartridge module Revision Changes Path 1.12 +2 -1 cartridges/pom.xml Index: pom.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/pom.xml,v retrieving revision 1.11 retrieving revision 1.12 diff -u -w -r1.11 -r1.12 --- pom.xml 7 Feb 2007 04:28:44 -0000 1.11 +++ pom.xml 16 Apr 2007 14:04:10 -0000 1.12 @@ -83,6 +83,7 @@ <module>andromda-aspdotnet</module> <module>andromda-jsf2</module> <module>andromda-jsf2/components</module> + <module>andromda-seam</module> </modules> <properties> <build.src>${pom.basedir}/target/src</build.src> |
From: Vance K. <va...@us...> - 2007-04-15 15:11:19
|
User: vancek Date: 07/04/15 08:10:39 Modified: profiles pom.xml Added: profiles/uml-2.0 pom.xml profiles/uml-2.0/seam/src/main/uml andromda-profile-seam.xml.zip profiles/uml-2.0/seam pom.xml Log: Seam uml2 profile Revision Changes Path 1.3 +1 -0 plugins/profiles/pom.xml Index: pom.xml =================================================================== RCS file: /cvsroot/andromdaplugins/plugins/profiles/pom.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- pom.xml 17 Jan 2007 04:30:25 -0000 1.2 +++ pom.xml 15 Apr 2007 15:10:38 -0000 1.3 @@ -17,6 +17,7 @@ </description> <modules> <module>uml-1.4</module> + <module>uml-2.0</module> </modules> <build> <pluginManagement> 1.1 plugins/profiles/uml-2.0/pom.xml Index: pom.xml =================================================================== <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.andromda.profiles</groupId> <artifactId>andromda-plugins-profiles</artifactId> <version>1.0-SNAPSHOT</version> </parent> <groupId>org.andromda.profiles.uml2</groupId> <artifactId>andromda-plugins-profiles-uml2</artifactId> <name>AndroMDA Plugins UML 2.0 Profile</name> <packaging>pom</packaging> <description> Contains the AndroMDA Plugins UML 2.0 profiles. </description> <build> <plugins> <plugin> <groupId>org.andromda.maven.plugins</groupId> <artifactId>andromda-model-archiver-plugin</artifactId> </plugin> </plugins> </build> <modules> <module>seam</module> </modules> </project> 1.1 plugins/profiles/uml-2.0/seam/src/main/uml/andromda-profile-seam.xml.zip <<Binary file>> 1.1 plugins/profiles/uml-2.0/seam/pom.xml Index: pom.xml =================================================================== <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>org.andromda.profiles.uml2</groupId> <artifactId>andromda-plugins-profiles-uml2</artifactId> <version>1.0-SNAPSHOT</version> </parent> <packaging>xml.zip</packaging> <artifactId>andromda-profile-seam</artifactId> <name>AndroMDA Plugins UML 2.0 Seam Profile</name> <version>1.1-SNAPSHOT</version> <description>Seam UML 2.0 profile which can be used with the AndroMDA Seam-EJB3 cartridges</description> </project> |
From: Vance K. <va...@us...> - 2007-04-15 15:11:18
|
User: vancek Date: 07/04/15 08:10:26 plugins/profiles/uml-2.0/seam/src/main/uml - New directory |
From: Vance K. <va...@us...> - 2007-04-15 15:11:18
|
User: vancek Date: 07/04/15 08:10:25 plugins/profiles/uml-2.0/seam/src/main - New directory |
From: Vance K. <va...@us...> - 2007-04-15 15:11:18
|
User: vancek Date: 07/04/15 08:10:23 plugins/profiles/uml-2.0/seam - New directory |
From: Vance K. <va...@us...> - 2007-04-15 15:11:18
|
User: vancek Date: 07/04/15 08:10:13 plugins/profiles/uml-2.0 - New directory |
From: Vance K. <va...@us...> - 2007-04-15 15:11:18
|
User: vancek Date: 07/04/15 08:10:24 plugins/profiles/uml-2.0/seam/src - New directory |
From: Vance K. <va...@us...> - 2007-04-12 15:29:35
|
User: vancek Date: 07/04/12 08:29:36 Added: andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades SeamFinalStateLogicImpl.java SeamForwardLogicImpl.java SeamUseCaseLogicImpl.java SeamManageableEntityAssociationEndLogicImpl.java SeamManageableEntityLogicImpl.java SeamActionLogicImpl.java SeamEventLogicImpl.java SeamAttributeLogicImpl.java SeamViewLogicImpl.java SeamParameterLogicImpl.java SeamActivityGraphLogicImpl.java SeamManageableEntityAttributeLogicImpl.java andromda-seam/src/main/resources/templates/seam/configuration web.xml.vsl components.xml.vsl trinidad-config.xml.vsl faces-config.xml.vsl navigation.xml.vsl jboss-web.xml.vsl andromda-seam/src/main/resources/templates/seam/views/facelets/layout header.xhtml.vsl menu.xhtml.vsl footer.xhtml.vsl registration-layout.xhtml.vsl messages.xhtml.vsl layout.xhtml.vsl head.xhtml.vsl andromda-seam/src/main/resources/META-INF/andromda cartridge.xml metafacades.xml namespace.xml profile.xml andromda-seam .cvsignore pom.xml andromda-seam/src/main/resources/views/images arrow-ff.gif space.gif next-yellow.gif arrow-previous.gif user.gif arrow-fr.gif x.gif arrow-last.gif arrow-first.gif arrow-next.gif next-grey.gif andromda-seam/src/main/resources/templates/seam/views/jsp index.jsp.vsl 403.jsp.vsl andromda-seam/src/main/resources/lib/seam jboss-seam-debug.jar jboss-seam-remoting.jar jboss-seam-pdf.jar jboss-seam-ui.jar jboss-seam-ioc.jar jboss-seam.jar oscache-2.3.2.jar jboss-seam-mail.jar andromda-seam/src/main/resources/lib/trinidad trinidad-api-1.0.1-incubating-SNAPSHOT.jar a4j-trinidad.jar trinidad-impl-1.0.1-incubating-SNAPSHOT.jar andromda-seam/src/main/resources/views/css custom.css andromda-seam/src/main/uml SeamMetafacadeModel.xml.zip andromda-seam/src/site changes.xml site.xml andromda-seam/src/main/resources/lib/ajax4jsf ajax4jsf.jar nekohtml.jar andromda-seam/conf/test andromda.xml andromda-seam/src/main/resources/templates/seam/messages messages.properties.vsl andromda-seam/conf/main andromda.xml andromda-seam/src/main/resources/lib/tomahawk tomahawk.jar myfaces-shared-tomahawk.jar andromda-seam/src/test/uml SeamCartridgeTestModel.xml.zip andromda-seam/src/main/resources/templates/seam/views/facelets view-action.xhtml.vsl logout.jsp.vsl view-table.xhtml.vsl login.xhtml.vsl view-hidden-parameters.xhtml.vsl view-variables.xhtml.vsl view-popup.xhtml.vsl view.xhtml.vsl andromda-seam/src/test/expected cartridge-output.zip andromda-seam/src/main/resources/lib/facelets el-api.jar el-ri.jar jsf-facelets.jar andromda-seam/src/main/resources/templates/seam/views/facelets/preferences preferences.xhtml.vsl Log: Initial revision - very rough cut! attempt 2 Revision Changes Path 1.1 cartridges/andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades/SeamFinalStateLogicImpl.java Index: SeamFinalStateLogicImpl.java =================================================================== package org.andromda.cartridges.seam.metafacades; /** * MetafacadeLogic implementation for org.andromda.cartridges.seam.metafacades.SeamFinalState. * * @see org.andromda.cartridges.seam.metafacades.SeamFinalState */ public class SeamFinalStateLogicImpl extends SeamFinalStateLogic { public SeamFinalStateLogicImpl (Object metaObject, String context) { super (metaObject, context); } } 1.1 cartridges/andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades/SeamForwardLogicImpl.java Index: SeamForwardLogicImpl.java =================================================================== package org.andromda.cartridges.seam.metafacades; /** * MetafacadeLogic implementation for org.andromda.cartridges.seam.metafacades.SeamForward. * * @see org.andromda.cartridges.seam.metafacades.SeamForward */ public class SeamForwardLogicImpl extends SeamForwardLogic { public SeamForwardLogicImpl (Object metaObject, String context) { super (metaObject, context); } } 1.1 cartridges/andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades/SeamUseCaseLogicImpl.java Index: SeamUseCaseLogicImpl.java =================================================================== package org.andromda.cartridges.seam.metafacades; /** * MetafacadeLogic implementation for org.andromda.cartridges.seam.metafacades.SeamUseCase. * * @see org.andromda.cartridges.seam.metafacades.SeamUseCase */ public class SeamUseCaseLogicImpl extends SeamUseCaseLogic { public SeamUseCaseLogicImpl (Object metaObject, String context) { super (metaObject, context); } } 1.1 cartridges/andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades/SeamManageableEntityAssociationEndLogicImpl.java Index: SeamManageableEntityAssociationEndLogicImpl.java =================================================================== package org.andromda.cartridges.seam.metafacades; /** * MetafacadeLogic implementation for org.andromda.cartridges.seam.metafacades.SeamManageableEntityAssociationEnd. * * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAssociationEnd */ public class SeamManageableEntityAssociationEndLogicImpl extends SeamManageableEntityAssociationEndLogic { public SeamManageableEntityAssociationEndLogicImpl (Object metaObject, String context) { super (metaObject, context); } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAssociationEnd#getMessageKey() */ protected java.lang.String handleGetMessageKey() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAssociationEnd#getMessageValue() */ protected java.lang.String handleGetMessageValue() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAssociationEnd#isSafeNamePresent() */ protected boolean handleIsSafeNamePresent() { // TODO: put your implementation here. return false; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAssociationEnd#getOnlineHelpKey() */ protected java.lang.String handleGetOnlineHelpKey() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAssociationEnd#getOnlineHelpValue() */ protected java.lang.String handleGetOnlineHelpValue() { // TODO: put your implementation here. return null; } } 1.1 cartridges/andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades/SeamManageableEntityLogicImpl.java Index: SeamManageableEntityLogicImpl.java =================================================================== package org.andromda.cartridges.seam.metafacades; /** * MetafacadeLogic implementation for org.andromda.cartridges.seam.metafacades.SeamManageableEntity. * * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity */ public class SeamManageableEntityLogicImpl extends SeamManageableEntityLogic { public SeamManageableEntityLogicImpl (Object metaObject, String context) { super (metaObject, context); } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getPageName() */ protected java.lang.String handleGetPageName() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getPageFullPath() */ protected java.lang.String handleGetPageFullPath() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getPageTitleKey() */ protected java.lang.String handleGetPageTitleKey() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getPageTitleValue() */ protected java.lang.String handleGetPageTitleValue() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getListName() */ protected java.lang.String handleGetListName() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getFormBeanType() */ protected java.lang.String handleGetFormBeanType() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getFormBeanName() */ protected java.lang.String handleGetFormBeanName() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getExceptionKey() */ protected java.lang.String handleGetExceptionKey() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getActionType() */ protected java.lang.String handleGetActionType() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getActionFullPath() */ protected java.lang.String handleGetActionFullPath() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getActionPath() */ protected java.lang.String handleGetActionPath() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getActionClassName() */ protected java.lang.String handleGetActionClassName() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getExceptionPath() */ protected java.lang.String handleGetExceptionPath() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#isPreload() */ protected boolean handleIsPreload() { // TODO: put your implementation here. return false; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getFormBeanClassName() */ protected java.lang.String handleGetFormBeanClassName() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getFormBeanFullPath() */ protected java.lang.String handleGetFormBeanFullPath() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getListGetterName() */ protected java.lang.String handleGetListGetterName() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getListSetterName() */ protected java.lang.String handleGetListSetterName() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getMessageKey() */ protected java.lang.String handleGetMessageKey() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getMessageValue() */ protected java.lang.String handleGetMessageValue() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getActionParameter() */ protected java.lang.String handleGetActionParameter() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getOnlineHelpKey() */ protected java.lang.String handleGetOnlineHelpKey() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getOnlineHelpValue() */ protected java.lang.String handleGetOnlineHelpValue() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getOnlineHelpActionPath() */ protected java.lang.String handleGetOnlineHelpActionPath() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getOnlineHelpPagePath() */ protected java.lang.String handleGetOnlineHelpPagePath() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#isTableExportable() */ protected boolean handleIsTableExportable() { // TODO: put your implementation here. return false; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getTableExportTypes() */ protected java.lang.String handleGetTableExportTypes() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#getTableMaxRows() */ protected int handleGetTableMaxRows() { // TODO: put your implementation here. return 0; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#isTableSortable() */ protected boolean handleIsTableSortable() { // TODO: put your implementation here. return false; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntity#isMultipartFormData() */ protected boolean handleIsMultipartFormData() { // TODO: put your implementation here. return false; } } 1.1 cartridges/andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades/SeamActionLogicImpl.java Index: SeamActionLogicImpl.java =================================================================== package org.andromda.cartridges.seam.metafacades; /** * MetafacadeLogic implementation for org.andromda.cartridges.seam.metafacades.SeamAction. * * @see org.andromda.cartridges.seam.metafacades.SeamAction */ public class SeamActionLogicImpl extends SeamActionLogic { public SeamActionLogicImpl (Object metaObject, String context) { super (metaObject, context); } } 1.1 cartridges/andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades/SeamEventLogicImpl.java Index: SeamEventLogicImpl.java =================================================================== package org.andromda.cartridges.seam.metafacades; /** * MetafacadeLogic implementation for org.andromda.cartridges.seam.metafacades.SeamEvent. * * @see org.andromda.cartridges.seam.metafacades.SeamEvent */ public class SeamEventLogicImpl extends SeamEventLogic { public SeamEventLogicImpl (Object metaObject, String context) { super (metaObject, context); } } 1.1 cartridges/andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades/SeamAttributeLogicImpl.java Index: SeamAttributeLogicImpl.java =================================================================== package org.andromda.cartridges.seam.metafacades; /** * MetafacadeLogic implementation for org.andromda.cartridges.seam.metafacades.SeamAttribute. * * @see org.andromda.cartridges.seam.metafacades.SeamAttribute */ public class SeamAttributeLogicImpl extends SeamAttributeLogic { public SeamAttributeLogicImpl (Object metaObject, String context) { super (metaObject, context); } } 1.1 cartridges/andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades/SeamViewLogicImpl.java Index: SeamViewLogicImpl.java =================================================================== package org.andromda.cartridges.seam.metafacades; /** * MetafacadeLogic implementation for org.andromda.cartridges.seam.metafacades.SeamView. * * @see org.andromda.cartridges.seam.metafacades.SeamView */ public class SeamViewLogicImpl extends SeamViewLogic { public SeamViewLogicImpl (Object metaObject, String context) { super (metaObject, context); } } 1.1 cartridges/andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades/SeamParameterLogicImpl.java Index: SeamParameterLogicImpl.java =================================================================== package org.andromda.cartridges.seam.metafacades; /** * MetafacadeLogic implementation for org.andromda.cartridges.seam.metafacades.SeamParameter. * * @see org.andromda.cartridges.seam.metafacades.SeamParameter */ public class SeamParameterLogicImpl extends SeamParameterLogic { public SeamParameterLogicImpl (Object metaObject, String context) { super (metaObject, context); } } 1.1 cartridges/andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades/SeamActivityGraphLogicImpl.java Index: SeamActivityGraphLogicImpl.java =================================================================== package org.andromda.cartridges.seam.metafacades; /** * MetafacadeLogic implementation for org.andromda.cartridges.seam.metafacades.SeamActivityGraph. * * @see org.andromda.cartridges.seam.metafacades.SeamActivityGraph */ public class SeamActivityGraphLogicImpl extends SeamActivityGraphLogic { public SeamActivityGraphLogicImpl (Object metaObject, String context) { super (metaObject, context); } } 1.1 cartridges/andromda-seam/src/main/java/org/andromda/cartridges/seam/metafacades/SeamManageableEntityAttributeLogicImpl.java Index: SeamManageableEntityAttributeLogicImpl.java =================================================================== package org.andromda.cartridges.seam.metafacades; /** * MetafacadeLogic implementation for org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute. * * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute */ public class SeamManageableEntityAttributeLogicImpl extends SeamManageableEntityAttributeLogic { public SeamManageableEntityAttributeLogicImpl (Object metaObject, String context) { super (metaObject, context); } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute#getMessageKey() */ protected java.lang.String handleGetMessageKey() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute#getMessageValue() */ protected java.lang.String handleGetMessageValue() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute#getDateFormat() */ protected java.lang.String handleGetDateFormat() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute#isNeedsFileUpload() */ protected boolean handleIsNeedsFileUpload() { // TODO: put your implementation here. return false; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute#isHidden() */ protected boolean handleIsHidden() { // TODO: put your implementation here. return false; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute#getWidgetType() */ protected java.lang.String handleGetWidgetType() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute#isStrictDateFormat() */ protected boolean handleIsStrictDateFormat() { // TODO: put your implementation here. return false; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute#getFieldRowCount() */ protected java.lang.Integer handleGetFieldRowCount() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute#getFieldColumnCount() */ protected java.lang.Integer handleGetFieldColumnCount() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute#isSafeNamePresent() */ protected boolean handleIsSafeNamePresent() { // TODO: put your implementation here. return false; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute#getOnlineHelpKey() */ protected java.lang.String handleGetOnlineHelpKey() { // TODO: put your implementation here. return null; } /** * @see org.andromda.cartridges.seam.metafacades.SeamManageableEntityAttribute#getOnlineHelpValue() */ protected java.lang.String handleGetOnlineHelpValue() { // TODO: put your implementation here. return null; } } 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/configuration/web.xml.vsl Index: web.xml.vsl =================================================================== <?xml version="1.0" encoding="$xmlEncoding"?> <web-app version="2.5" xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"> #if ($distributable.equalsIgnoreCase("true")) <distributable/> #end <!-- ************************ Seam Listener **************************** --> <listener> <listener-class>org.jboss.seam.servlet.SeamListener</listener-class> </listener> <!-- ************************ Ajax4jsf Filter **************************** --> <filter> <display-name>Ajax4jsf Filter</display-name> <filter-name>ajax4jsf</filter-name> <filter-class>org.ajax4jsf.FastFilter</filter-class> <init-param> <param-name>enable-cache</param-name> <param-value>true</param-value> </init-param> <init-param> <param-name>forceparser</param-name> <param-value>true</param-value> </init-param> </filter> <filter-mapping> <filter-name>ajax4jsf</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <!-- ************************ Trinidad Filter **************************** --> <filter> <display-name>Trinidad Filter</display-name> <filter-name>trinidad</filter-name> <filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class> </filter> <filter-mapping> <filter-name>trinidad</filter-name> <servlet-name>Faces Servlet</servlet-name> <dispatcher>REQUEST</dispatcher> <dispatcher>FORWARD</dispatcher> <dispatcher>INCLUDE</dispatcher> </filter-mapping> <!-- ************************ Seam Filter **************************** --> <filter> <filter-name>Seam Filter</filter-name> <filter-class>org.jboss.seam.web.SeamFilter</filter-class> </filter> <filter-mapping> <filter-name>Seam Filter</filter-name> <servlet-name>Faces Servlet</servlet-name> </filter-mapping> <!-- ************************ Manual Filters **************************** --> <!-- filter merge-point --> <!-- filter-mapping merge-point --> <!-- ************************ SEAM Config **************************** --> <!-- 300 second conversation timeout --> <context-param> <param-name>org.jboss.seam.core.manager.conversationTimeout</param-name> <param-value>300000</param-value> </context-param> <context-param> <param-name>org.jboss.seam.core.init.debug</param-name> <param-value>true</param-value> </context-param> #if ($viewTypeIsFacelets) <!-- ********************* Facelets Config ************************** --> <context-param> <param-name>facelets.VIEW_MAPPINGS</param-name> <param-value>*.xhtml</param-value> </context-param> <context-param> <description>Prevents HTML-Comments from beeing rendered</description> <param-name>facelets.SKIP_COMMENTS</param-name> <param-value>true</param-value> </context-param> #end #if ($viewTypeIsFacelets && $faceletsDevelopmentSupportEnabled) <context-param> <param-name>facelets.REFRESH_PERIOD</param-name> <param-value>2</param-value> </context-param> <context-param> <param-name>facelets.DEVELOPMENT</param-name> <param-value>true</param-value> </context-param> #end #if ($facesConfigFiles) <context-param> <description> Comma separated list of URIs of (additional) faces config files. (e.g. /WEB-INF/jsf-config.xml) See JSF 1.0 PRD2, 10.3.2 </description> <param-name>javax.faces.CONFIG_FILES</param-name> <param-value> $facesConfigFiles </param-value> </context-param> #end <!-- ************************ JSF Config **************************** --> <context-param> <param-name>javax.faces.DEFAULT_SUFFIX</param-name> <param-value>.xhtml</param-value> </context-param> <context-param> <description> State saving method: "client" or "server" (= default) See JSF Specification 2.5.2. In ADF Faces, it is an optimized, token-based mechanism that is almost always a better choice than the standard JSF server-side state saving. </description> <param-name>javax.faces.STATE_SAVING_METHOD</param-name> <param-value>$stateSavingMethod</param-value> </context-param> <!-- ************************ MyFaces Config **************************** --> <context-param> <description> This parameter tells MyFaces if javascript code should be allowed in the rendered HTML output. If javascript is allowed, command_link anchors will have javascript code that submits the corresponding form. If javascript is not allowed, the state saving info and nested parameters will be added as url parameters. Default: "true" </description> <param-name>org.apache.myfaces.ALLOW_JAVASCRIPT</param-name> <param-value>true</param-value> </context-param> <context-param> <description> If true, rendered HTML code will be formatted, so that it is "human readable". i.e. additional line separators and whitespace will be written, that do not influence the HTML code. Default: "true" </description> <param-name>org.apache.myfaces.PRETTY_HTML</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.DETECT_JAVASCRIPT</param-name> <param-value>false</param-value> </context-param> <context-param> <description> If true, a javascript function will be rendered that is able to restore the former vertical scroll on every request. Convenient feature if you have pages with long lists and you do not want the browser page to always jump to the top if you trigger a link or button action that stays on the same page. Default: "false" </description> <param-name>org.apache.myfaces.AUTO_SCROLL</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>com.sun.faces.validateXml</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>com.sun.faces.verifyObjects</param-name> <param-value>true</param-value> </context-param> <!-- ************************ Trinidad Config **************************** --> <context-param> <param-name>org.apache.myfaces.trinidad.DEBUG_JAVASCRIPT</param-name> <param-value>false</param-value> </context-param> <context-param> <!-- If this parameter is enabled, Trinidad will automatically check the modification date of your JSPs, and discard saved state when they change; this makes development easier, but adds overhead that should be avoided when your application is deployed --> <param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.trinidad.resource.DEBUG</param-name> <param-value>true</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.trinidad.ALTERNATE_VIEW_HANDLER</param-name> <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value> <!--param-value>com.sun.facelets.FaceletViewHandler</param-value--> </context-param> <context-param> <param-name>org.apache.myfaces.trinidad.CACHE_VIEW_ROOT</param-name> <param-value>false</param-value> </context-param> <context-param> <param-name>org.apache.myfaces.trinidadinternal.DISABLE_CONTENT_COMPRESSION</param-name> <param-value>true</param-value> </context-param> <!-- ************************ Ajax4JSF Config **************************** --> <context-param> <param-name>org.ajax4jsf.SKIN</param-name> <param-value>DEFAULT</param-value> </context-param> <!-- ************************ Manual Merged Config **************************** --> <!-- context-param merge-point --> <!-- ************************ MyFaces Listener **************************** --> <listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> </listener> <!-- ************************ Seam Servlet Mapping ************************ --> <servlet> <servlet-name>Seam Resource Servlet</servlet-name> <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>Seam Resource Servlet</servlet-name> <url-pattern>/seam/resource/*</url-pattern> </servlet-mapping> <!-- ************************ Faces Servlet Mapping **************************** --> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.${facesServletExtension}</url-pattern> </servlet-mapping> <!-- ************************ Trinidad Resources Servlet **************************** --> <servlet> <servlet-name>Trinidad Resources</servlet-name> <servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>Trinidad Resources</servlet-name> <url-pattern>/adf/*</url-pattern> </servlet-mapping> <!-- servlet merge-point --> <!-- precompilation merge-point --> <!-- servlet-mapping merge-point --> <session-config> <session-timeout>$sessionTimeout</session-timeout> <!-- session-config merge-point --> </session-config> <!-- mime-type merge-point --> <!-- Welcome files --> <welcome-file-list> <!-- welcome-file-list merge-point --> <welcome-file>$welcomeFileName</welcome-file> <welcome-file>index.html</welcome-file> </welcome-file-list> <error-page> <error-code>408</error-code> <location>/index.jsp</location> </error-page> <error-page> <error-code>403</error-code> <location>/403.jsp</location> </error-page> <!-- error-page merge-point --> <!-- taglib merge-point --> <!-- resource-ref merge-point --> <!-- security-constraint merge-point --> #if (!$applicationUseCases.empty) #set($applicationUseCase = $applicationUseCases.iterator().next()) #end #set ($useCases = $applicationUseCase.allUseCases) <security-constraint> <web-resource-collection> <web-resource-name>Raw-JSF-Pages</web-resource-name> <description> Prevent access to raw pages that are for JSF pages. (No roles, so no direct access) </description> #foreach ($useCase in $useCases) #foreach ($view in $useCase.views) <url-pattern>${view.path}.${jsfUtils.viewExtension}</url-pattern> #end #end </web-resource-collection> <auth-constraint> </auth-constraint> <user-data-constraint> <transport-guarantee>NONE</transport-guarantee> </user-data-constraint> </security-constraint> #if ($securityEnabled) #foreach ($applicationUseCase in $applicationUseCases) #foreach ($useCase in $applicationUseCase.allUseCases) <security-constraint> <web-resource-collection> <web-resource-name>$useCase.name resources</web-resource-name> <description> This collection secures all views and resources as well as the actions called in the "$useCase.name" use-case </description> <url-pattern>${useCase.pathRoot}/*</url-pattern> </web-resource-collection> #if ($useCase.secured) <auth-constraint> #foreach ($user in $useCase.roles) <role-name>$user.name</role-name> #end </auth-constraint> #end <user-data-constraint> <transport-guarantee>NONE</transport-guarantee> </user-data-constraint> </security-constraint> #end <login-config> <auth-method>FORM</auth-method> <realm-name>$securityRealm</realm-name> <form-login-config> <form-login-page>/${loginFileName}.${facesServletExtension}</form-login-page> <form-error-page>/${loginFileName}.${facesServletExtension}?action=error</form-error-page> </form-login-config> </login-config> #foreach ($user in $applicationUseCase.allRoles) <security-role> <role-name>$user.name</role-name> </security-role> #end <!-- security-role merge-point --> #end #end </web-app> 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/configuration/components.xml.vsl Index: components.xml.vsl =================================================================== <?xml version="1.0" encoding="UTF-8"?> <components xmlns="http://jboss.com/products/seam/components" xmlns:core="http://jboss.com/products/seam/core" xmlns:security="http://jboss.com/products/seam/security" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation= "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.2.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd http://jboss.com/products/seam/security http://jboss.com/products/seam/security-1.2.xsd"> <core:init jndi-pattern="${ejbJndiNamePrefix}/#{ejbName}/local" debug="true"/> <core:manager conversation-timeout="120000" concurrent-request-timeout="500" conversation-id-parameter="cid" conversation-is-long-running-parameter="clr"/> <core:transactionListener/> <core:ejb installed="false"/> <security:identity authenticate-method="#{authenticator.authenticate}"/> <!-- seam-components merge-point --> </components> 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/configuration/trinidad-config.xml.vsl Index: trinidad-config.xml.vsl =================================================================== <?xml version="1.0"?> <trinidad-config xmlns="http://myfaces.apache.org/trinidad/config"> <debug-output>true</debug-output> <!-- disable client validation since we use the commons-validator framework --> <client-validation-disabled>true</client-validation-disabled> <accessibility-mode>default</accessibility-mode> <!-- accessibility-mode>#{prefs.proxy.accessibilityMode}</accessibility-mode--> <!-- you can use EL to get the skin. This allows the skin to change between requests. --> <!-- skin-family>#{prefs.proxy.skinFamily}</skin-family--> <!-- A silly use of EL: English users get Simple Skin, others get Oracle Skin --> <!-- skin-family>#{facesContext.viewRoot.locale.language=='en' ? 'simple' : 'oracle'}</skin-family --> <!-- skin-family>#{preferences.skin}</skin-family--> <!-- Uncomment any of these to enable them --> <!-- accessibility-mode>inaccessible</accessibility-mode --> <!-- oracle-help-servlet-url>http://helponline.oracle.com/jdeveloper/help/</oracle-help-servlet-url --> </trinidad-config> 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/configuration/faces-config.xml.vsl Index: faces-config.xml.vsl =================================================================== <?xml version="1.0"?> <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN" "http://java.sun.com/dtd/web-facesconfig_1_1.dtd"> <!-- =========== FULL CONFIGURATION FILE ================================== --> <faces-config> <!-- Trinidad and Ajax4JSF support --> <application> <message-bundle>messages</message-bundle> <!--view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler--> <!--variable-resolver>org.jboss.seam.jsf.SeamVariableResolver</variable-resolver--> <default-render-kit-id>org.apache.myfaces.trinidad.core</default-render-kit-id> <!-- Disabled when using Ajax4JSF --> <!-- <view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler> <view-handler>org.ajax4jsf.framework.ajax.AjaxViewHandler</view-handler> --> </application> <!-- Seam transaction management --> <lifecycle> <phase-listener>org.jboss.seam.jsf.TransactionalSeamPhaseListener</phase-listener> <!--phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener--> </lifecycle> <!-- faces-config merge-point --> </faces-config> 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/configuration/navigation.xml.vsl Index: navigation.xml.vsl =================================================================== <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN" "http://java.sun.com/dtd/web-facesconfig_1_0.dtd"> <faces-config> #if(!$applicationUseCases.empty) #**##set($applicationUseCase = $applicationUseCases.iterator().next()) #end #set ($useCases = $applicationUseCase.allUseCases) <!-- global navigational-rules --> #foreach ($useCase in $useCases) <navigation-rule> <navigation-case> <from-outcome>$useCase.forwardName</from-outcome> <to-view-id>${useCase.path}.${jsfUtils.viewExtension}</to-view-id> <redirect/> </navigation-case> </navigation-rule> #end #foreach ($useCase in $useCases) #foreach ($rule in $useCase.navigationRules) <navigation-rule> <navigation-case> <from-outcome>$rule.fromOutcome</from-outcome> <to-view-id>${rule.path}.${jsfUtils.viewExtension}</to-view-id> <redirect/> </navigation-case> </navigation-rule> #end #end #if ($stringUtils.isNotBlank($securityRealm)) <navigation-rule> <navigation-case> <from-outcome>logout</from-outcome> <to-view-id>/logout.${jsfUtils.viewExtension}</to-view-id> <redirect/> </navigation-case> </navigation-rule> #end </faces-config> 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/configuration/jboss-web.xml.vsl Index: jboss-web.xml.vsl =================================================================== #if ($stringUtils.isNotBlank($securityRealm) || $stringUtils.isNotBlank($virtualHost)) <?xml version="1.0" encoding="$xmlEncoding" ?> <jboss-web> #if ($stringUtils.isNotBlank($securityRealm)) <security-domain flushOnSessionInvalidation="true">java:/jaas/${securityRealm}</security-domain> #end #if ($stringUtils.isNotBlank($virtualHost)) <virtual-host>$virtualHost</virtual-host> #end </jboss-web> #end 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/views/facelets/layout/header.xhtml.vsl Index: header.xhtml.vsl =================================================================== <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"> <ui:composition> <div id="pageHeader">#{messages['application.name']}</div> </ui:composition> </html> 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/views/facelets/layout/menu.xhtml.vsl Index: menu.xhtml.vsl =================================================================== <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html" xmlns:c="http://java.sun.com/jstl/core" xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:af="http://xmlns.oracle.com/adf/faces"> <ui:composition> <h:panelGrid columns="1" width="100%"> <t:jscookMenu layout="${menuLayout}" theme="#{${preferencesBeanName}.menuTheme}" > #foreach ($useCase in $useCases) <t:navigationMenuItem itemLabel="#{messages['$useCase.titleKey']}" action="#{${useCase.controller.beanName}.${useCase.controllerAction}}" icon="/images/next-yellow.gif" /> #end #if ($enablePreferences) <t:navigationMenuItem itemLabel="#{messages['menu.preferences']}" split="true" action="preferences" icon="/images/next-yellow.gif" /> #end </t:jscookMenu> #if ($stringUtils.isNotBlank($securityRealm)) <c:set var="remoteUser" value="${facesContext.externalContext.request.remoteUser}" scope="request"/> <af:panelHorizontal halign="center" valign="bottom" styleClass="userPanel" rendered="#{!empty remoteUser}"> <t:graphicImage url="/images/user.gif"/> <af:objectSpacer width="5"/> #{remoteUser} <af:objectSpacer width="5"/> <h:outputText value="~"/> <af:objectSpacer width="5"/> <h:form> <h:commandLink action="logout" styleClass="userPanel"> <h:outputText value="#{messages['logout.action']}" style="text-align:left;"/> </h:commandLink> </h:form> </af:panelHorizontal> #end </h:panelGrid> </ui:composition> </html> 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/views/facelets/layout/footer.xhtml.vsl Index: footer.xhtml.vsl =================================================================== <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"> <ui:composition> <h:panelGroup id="footer"> <h:outputText value="#{messages['footer.message']}" escape="false"/> </h:panelGroup> </ui:composition> </html> 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/views/facelets/layout/registration-layout.xhtml.vsl Index: registration-layout.xhtml.vsl =================================================================== <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:c="http://java.sun.com/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:af="http://xmlns.oracle.com/adf/faces" xmlns:afh="http://xmlns.oracle.com/adf/faces/html"> <ui:insert name="head"> <ui:include src="head.xhtml"/> </ui:insert> <body> <ui:insert name="title"/> <af:panelPage title="#{title}"> <f:facet name="brandingApp"> <ui:insert name="header"> <ui:include src="header.xhtml"/> </ui:insert> </f:facet> <f:facet name="menu2"> <af:menuBar> <t:graphicImage url="/images/space.gif"/> </af:menuBar> </f:facet> <f:facet name="appCopyright"> <ui:insert name="footer"> <ui:include src="footer.xhtml"/> </ui:insert> </f:facet> <div id="pageContent"> <ui:insert name="messages"> <ui:include src="messages.xhtml"/> </ui:insert> <ui:insert name="content"/> </div> </af:panelPage> </body> </html> 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/views/facelets/layout/messages.xhtml.vsl Index: messages.xhtml.vsl =================================================================== <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:h="http://java.sun.com/jsf/html"> <ui:composition> <h:messages errorClass="error" warnClass="warn" fatalClass="fatal" infoClass="info" globalOnly="true"/> </ui:composition> </html> 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/views/facelets/layout/layout.xhtml.vsl Index: layout.xhtml.vsl =================================================================== <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:c="http://java.sun.com/jstl/core" xmlns:fn="http://java.sun.com/jsp/jstl/functions" xmlns:t="http://myfaces.apache.org/tomahawk" xmlns:af="http://xmlns.oracle.com/adf/faces" xmlns:afh="http://xmlns.oracle.com/adf/faces/html"> <ui:insert name="head"> <ui:include src="head.xhtml"/> </ui:insert> <body> <ui:insert name="title"/> <af:panelPage title="#{title}"> <f:facet name="brandingApp"> <ui:insert name="header"> <ui:include src="header.xhtml"/> </ui:insert> </f:facet> <f:facet name="menu2"> <af:menuBar> <t:graphicImage url="/images/space.gif"/> </af:menuBar> </f:facet> <f:facet name="menu3"> <ui:insert name="menu"> <ui:include src="menu.xhtml"/> </ui:insert> </f:facet> <f:facet name="appCopyright"> <ui:insert name="footer"> <ui:include src="footer.xhtml"/> </ui:insert> </f:facet> <div id="pageContent"> <ui:insert name="messages"> <ui:include src="messages.xhtml"/> </ui:insert> <ui:insert name="content"/> </div> </af:panelPage> </body> </html> 1.1 cartridges/andromda-seam/src/main/resources/templates/seam/views/facelets/layout/head.xhtml.vsl Index: head.xhtml.vsl =================================================================== <html xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:c="http://java.sun.com/jstl/core" xmlns:afh="http://xmlns.oracle.com/adf/faces/html"> <ui:composition> <f:loadBundle basename="message-resources" var="messages"/> <afh:head> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=UTF-8"/> <title>#{messages['application.name']}<c:if test="${!empty viewTitle}"> ~ ${viewTitle}</c:if></title> #if ($outputCustomResources) <link rel="stylesheet" type="text/css" href="${facesContext.externalContext.request.contextPath}/css/custom.css"/> #end <script type="text/javascript" language="Javascript1.1" src="${facesContext.externalContext.request.contextPath}/js/common.js"> </script> <script type="text/javascript" language="Javascript1.1" src="${facesContext.externalContext.request.contextPath}/js/key-events.js"> </script> <script type="text/javascript" language="Javascript1.1" src="${facesContext.externalContext.request.contextPath}/js/shortlinks.js"> </script> </afh:head> </ui:composition> </html> 1.1 cartridges/andromda-seam/src/main/resources/META-INF/andromda/cartridge.xml Index: cartridge.xml =================================================================== <cartridge> <templateEngine className="org.andromda.templateengines.velocity.VelocityTemplateEngine"> <!-- cartridge-macrolibrary merge-point--> </templateEngine> <!-- define the template objects that are made available to the template --> <templateObject name="stringUtils" className="org.andromda.core.common.StringUtilsHelper"/> <templateObject name="jsfUtils" className="org.andromda.cartridges.jsf.JSFUtils"> <property reference="viewType"/> <property reference="strictDateTimeFormat"/> </templateObject> <!-- cartridge-templateObject merge-point--> <property reference="xmlEncoding"/> <property reference="facesConfig"/> <property reference="jspIncludes"/> <property reference="messageResources"/> <property reference="welcomeFileName"/> <property reference="facesServletExtension"/> <property reference="managedBeansPackage"/> <property reference="preferencesClassName"/> <property reference="preferencesBeanName"/> <property reference="menuLayout"/> <property reference="menuTheme"/> <property reference="applicationName"/> <property reference="formPopulatorName"/> <property reference="exceptionHandlerPattern"/> <property reference="converterPattern"/> <property reference="actionFormKey"/> <property reference="patternMatchingExceptionHandler"/> <property reference="defaultDateFormat"/> <property reference="defaultTimeFormat"/> <property reference="dummyData"/> <property reference="jsfComponentsPackage"/> <property reference="clientValidation"/> <property reference="fileTypeName"/> <property reference="securityRealm"/> <property reference="loginFileName"/> <property reference="logoutFileName"/> <property reference="virtualHost"/> <property reference="defaultMultiSelectSize"/> <property reference="enablePreferences"/> <property reference="distributable"/> <property reference="stateSavingMethod"/> <property reference="sessionTimeout"/> <property reference="toDoTag"/> <property reference="enableFaceletsDevelopmentSupport"/> <property reference="viewType"/> <property reference="strictDateTimeFormat"/> <property reference="libraries"/> <property reference="application-libraries"/> <property reference="adfContextAttributeName"/> <property reference="skin"/> <property reference="custom-resources"/> <property reference="formSerialization"/> <property reference="formMessagesProperty"/> <property reference="useCaseForwardsClassName"/> <property reference="maxTableRows"/> <property reference="ejbJndiNamePrefix"/> <!-- cartridge-property merge-point --> <condition name="viewTypeIsJsp">$viewType.equalsIgnoreCase("jsp")</condition> <condition name="viewTypeIsFacelets">$viewType.equalsIgnoreCase("facelets")</condition> <condition name="outputCustomResources">$stringUtils.isNotBlank($custom-resources)</condition> <condition name="faceletsDevelopmentSupportEnabled"> #if ($viewType.equalsIgnoreCase("facelets") && $enableFaceletsDevelopmentSupport.equalsIgnoreCase("true"))true#end </condition> <condition name="outputLibraries">$stringUtils.isNotBlank($libraries)</condition> <condition name="enablePreferences">$enablePreferences.equalsIgnoreCase("true")</condition> <condition name="clientValidation">$clientValidation.equalsIgnoreCase("true")</condition> <condition name="formSerialization">$formSerialization.equalsIgnoreCase("true")</condition> <condition name="securityEnabled">$stringUtils.isNotBlank($securityRealm)</condition> <!-- condition merge-point--> <!-- cartridge-resource merge-point --> <resource path="lib/seam/jboss-seam.jar" outputPattern="resources/lib/{0}" outlet="application-libraries" overwrite="true" lastModifiedCheck="true"/> <resource path="lib/seam/jboss-seam-ui.jar" outputPattern="WEB-INF/lib/{0}" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> <resource path="lib/seam/jboss-seam-debug.jar" outputPattern="WEB-INF/lib/{0}" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> <resource path="lib/seam/jboss-seam-ioc.jar" outputPattern="WEB-INF/lib/{0}" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> <resource path="lib/seam/jboss-seam-mail.jar" outputPattern="WEB-INF/lib/{0}" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> <resource path="lib/seam/jboss-seam-pdf.jar" outputPattern="WEB-INF/lib/{0}" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> <resource path="lib/seam/jboss-seam-remoting.jar" outputPattern="WEB-INF/lib/{0}" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> <resource path="lib/seam/oscache-2.3.2.jar" outputPattern="WEB-INF/lib/{0}" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> <resource path="lib/tomahawk/*.jar" outputPattern="WEB-INF/lib/{0}" outlet="libraries" overwrite="true" lastModifiedCheck="true"/> <resource path="l... [truncated message content] |
From: Vance K. <va...@us...> - 2007-04-12 14:59:22
|
User: vancek Date: 07/04/12 07:59:19 cartridges/andromda-seam/src/site/axdoc - New directory |