geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From genspr...@apache.org
Subject svn commit: r1135937 - in /geronimo/server/trunk/plugins/openejb: geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImpl.java
Date Wed, 15 Jun 2011 06:57:02 GMT
Author: genspring
Date: Wed Jun 15 06:57:02 2011
New Revision: 1135937

URL: http://svn.apache.org/viewvc?rev=1135937&view=rev
Log:
to populate the correct isStandalone attribute from ejbmodule to openejb appinfo.

Modified:
    geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
    geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImpl.java

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java?rev=1135937&r1=1135936&r2=1135937&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb-builder/src/main/java/org/apache/geronimo/openejb/deployment/EjbModuleBuilder.java
Wed Jun 15 06:57:02 2011
@@ -1171,6 +1171,7 @@ public class EjbModuleBuilder implements
 //            }
 
             ejbModuleGBeanData.setAttribute("deploymentDescriptor", ejbModule.getOriginalSpecDD());
+            ejbModuleGBeanData.setAttribute("isStandalone", ejbModule.isStandAlone());
 
             ejbModuleGBeanData.setReferencePatterns("EJBCollection",
                     new ReferencePatterns(new AbstractNameQuery(null,

Modified: geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImpl.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImpl.java?rev=1135937&r1=1135936&r2=1135937&view=diff
==============================================================================
--- geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImpl.java
(original)
+++ geronimo/server/trunk/plugins/openejb/geronimo-openejb/src/main/java/org/apache/geronimo/openejb/EjbModuleImpl.java
Wed Jun 15 06:57:02 2011
@@ -74,6 +74,7 @@ public class EjbModuleImpl implements EJ
                          @ParamReference(name = "J2EEServer", namingType = NameFactory.J2EE_SERVER)
J2EEServer server,
                          @ParamReference(name = "J2EEApplication", namingType = NameFactory.J2EE_APPLICATION)
J2EEApplication application,
                          @ParamAttribute(name = "deploymentDescriptor") String deploymentDescriptor,
+                         @ParamAttribute(name = "isStandalone") boolean isStandalone,
                          @ParamReference(name = "EJBCollection") Collection<? extends
EjbDeployment> ejbs,
                          @ParamSpecial(type = SpecialAttributeType.classLoader) ClassLoader
classLoader,
                          @ParamReference(name = "OpenEjbSystem") OpenEjbSystem openEjbSystem,
@@ -106,6 +107,8 @@ public class EjbModuleImpl implements EJ
         this.openEjbSystem = openEjbSystem;
         
         this.appInfo = ejbInfo.createAppInfo();
+        
+        this.appInfo.standaloneModule = isStandalone;
     }
     
     private void removeEjb(EjbDeployment ejb) {



Mime
View raw message