From: Vance K. <va...@us...> - 2006-06-03 15:39:43
|
User: vancek Date: 06/06/03 08:39:42 Modified: andromda-ejb3/src/main/resources/templates/ejb3 SessionBeanBase.vsl MessageDrivenListener.vsl Interceptor.vsl SessionListener.vsl andromda-ejb3/src/changes changes.xml Log: updated interceptor related class package names to javax.interceptor. javax.annotation.EJB moved to javax.ejb.EJB. updates for EJB 3.0 FR (JBoss 4.0.4-GA with RC8). Revision Changes Path 1.5 +2 -2 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.4 retrieving revision 1.5 diff -u -w -r1.4 -r1.5 --- SessionBeanBase.vsl 29 May 2006 01:41:19 -0000 1.4 +++ SessionBeanBase.vsl 3 Jun 2006 15:39:42 -0000 1.5 @@ -114,7 +114,7 @@ /** * Inject session EJB ${reference.name} */ - @javax.annotation.EJB + @javax.ejb.EJB protected ${reference.fullyQualifiedServiceRemoteInterfaceName} $stringUtils.uncapitalize(${reference.name}); #**##end #end @@ -128,7 +128,7 @@ /** * Inject DAO ${daoReference.daoName} */ - @javax.annotation.EJB + @javax.ejb.EJB private ${daoReference.fullyQualifiedDaoName} $stringUtils.uncapitalize(${daoReference.daoName}); #**##end #end 1.6 +2 -2 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/MessageDrivenListener.vsl Index: MessageDrivenListener.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/MessageDrivenListener.vsl,v retrieving revision 1.5 retrieving revision 1.6 diff -u -w -r1.5 -r1.6 --- MessageDrivenListener.vsl 29 May 2006 01:41:19 -0000 1.5 +++ MessageDrivenListener.vsl 3 Jun 2006 15:39:42 -0000 1.6 @@ -20,7 +20,7 @@ } @javax.annotation.PostConstruct - public void postConstruct(javax.ejb.InvocationContext ctx) + public void postConstruct(javax.interceptor.InvocationContext ctx) { try { @@ -34,7 +34,7 @@ } @javax.annotation.PreDestroy - public void preDestroy(javax.ejb.InvocationContext ctx) + public void preDestroy(javax.interceptor.InvocationContext ctx) { try { 1.4 +1 -1 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/Interceptor.vsl Index: Interceptor.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/Interceptor.vsl,v retrieving revision 1.3 retrieving revision 1.4 diff -u -w -r1.3 -r1.4 --- Interceptor.vsl 29 May 2006 01:41:19 -0000 1.3 +++ Interceptor.vsl 3 Jun 2006 15:39:42 -0000 1.4 @@ -16,7 +16,7 @@ * @return */ @javax.interceptor.AroundInvoke - public Object execute(javax.ejb.InvocationContext ctx) + public Object execute(javax.interceptor.InvocationContext ctx) throws Exception { // Add implementation 1.7 +4 -4 cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionListener.vsl Index: SessionListener.vsl =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/main/resources/templates/ejb3/SessionListener.vsl,v retrieving revision 1.6 retrieving revision 1.7 diff -u -w -r1.6 -r1.7 --- SessionListener.vsl 11 Apr 2006 15:44:24 -0000 1.6 +++ SessionListener.vsl 3 Jun 2006 15:39:42 -0000 1.7 @@ -20,7 +20,7 @@ } @javax.annotation.PostConstruct - public void postConstruct(javax.ejb.InvocationContext ctx) + public void postConstruct(javax.interceptor.InvocationContext ctx) { try { @@ -34,7 +34,7 @@ } @javax.annotation.PreDestroy - public void preDestroy(javax.ejb.InvocationContext ctx) + public void preDestroy(javax.interceptor.InvocationContext ctx) { try { @@ -49,7 +49,7 @@ #if ($service.stateful) @javax.ejb.PostActivate - public void postActivate(javax.ejb.InvocationContext ctx) + public void postActivate(javax.interceptor.InvocationContext ctx) { try { @@ -63,7 +63,7 @@ } @javax.ejb.PrePassivate - public void prePassivate(javax.ejb.InvocationContext ctx) + public void prePassivate(javax.interceptor.InvocationContext ctx) { try { 1.3 +25 -0 cartridges/andromda-ejb3/src/changes/changes.xml Index: changes.xml =================================================================== RCS file: /cvsroot/andromdaplugins/cartridges/andromda-ejb3/src/changes/changes.xml,v retrieving revision 1.2 retrieving revision 1.3 diff -u -w -r1.2 -r1.3 --- changes.xml 29 May 2006 06:39:00 -0000 1.2 +++ changes.xml 3 Jun 2006 15:39:42 -0000 1.3 @@ -44,6 +44,31 @@ <action dev="vancek" type="add"> Added installation howto. </action> + <action dev="tlu" type="add"> + Added equals, hashCode and toString methods to entities. + </action> + <action dev="vancek" type="update"> + Updates to bring up to date with EJB 3.0 FR. + Now require JBoss 4.0.4-GA with EJB 3.0 RC8-PFD update. + Update include + @javax.annotation.EJB --> @javax.ejb.EJB + Interceptor related classes and annotations moved to javax.interceptor package. + </action> + <action dev="vancek" type="fix"> + MDB base class must implement javax.jms.MessageListener to avoid the following error message + on deployment: + java.lang.RuntimeException: unable to determine messagingType interface for MDB + </action> + <action dev="vancek" type="delete"> + Removed container configuration option via tagged value on message driven beans since it + is no longer supported. + </action> + <action dev="vancek" type="add"> + Added minimumPoolSize (@andromda.ejb.mdb.pool.size.min) and maximumPoolSize + (@andromda.ejb.mdb.pool.size.min) tagged value options for message + driven beans i.e. to allow singleton message driven beans. These are added as + activation config properties to the ejb-jar.xml. + </action> </release> </body> </document> \ No newline at end of file |