geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r523159 - in /geronimo/server/trunk: configs/webconsole-jetty6/src/plan/ configs/webconsole-tomcat/src/plan/ modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/
Date Wed, 28 Mar 2007 04:10:27 GMT
Author: djencks
Date: Tue Mar 27 21:10:26 2007
New Revision: 523159

URL: http://svn.apache.org/viewvc?view=rev&rev=523159
Log:
GERONIMO-3020.  Register the DeploymentFactoryWithKernel with  the DeploymentFactorymanager
in its constructor, and add gbeans for it to the webconsole plans

Modified:
    geronimo/server/trunk/configs/webconsole-jetty6/src/plan/plan.xml
    geronimo/server/trunk/configs/webconsole-tomcat/src/plan/plan.xml
    geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryWithKernel.java

Modified: geronimo/server/trunk/configs/webconsole-jetty6/src/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/webconsole-jetty6/src/plan/plan.xml?view=diff&rev=523159&r1=523158&r2=523159
==============================================================================
--- geronimo/server/trunk/configs/webconsole-jetty6/src/plan/plan.xml (original)
+++ geronimo/server/trunk/configs/webconsole-jetty6/src/plan/plan.xml Tue Mar 27 21:10:26
2007
@@ -409,4 +409,6 @@
         <!--</reference>-->
     <!--</gbean>-->
 
+    <gbean name="DeploymentFactory" class="org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryWithKernel"
/>
+
 </application>

Modified: geronimo/server/trunk/configs/webconsole-tomcat/src/plan/plan.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/configs/webconsole-tomcat/src/plan/plan.xml?view=diff&rev=523159&r1=523158&r2=523159
==============================================================================
--- geronimo/server/trunk/configs/webconsole-tomcat/src/plan/plan.xml (original)
+++ geronimo/server/trunk/configs/webconsole-tomcat/src/plan/plan.xml Tue Mar 27 21:10:26
2007
@@ -412,4 +412,6 @@
         <!--</reference>-->
     <!--</gbean>-->
 
+    <gbean name="DeploymentFactory" class="org.apache.geronimo.deployment.plugin.factories.DeploymentFactoryWithKernel"
/>
+
 </application>

Modified: geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryWithKernel.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryWithKernel.java?view=diff&rev=523159&r1=523158&r2=523159
==============================================================================
--- geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryWithKernel.java
(original)
+++ geronimo/server/trunk/modules/geronimo-deploy-jsr88/src/main/java/org/apache/geronimo/deployment/plugin/factories/DeploymentFactoryWithKernel.java
Tue Mar 27 21:10:26 2007
@@ -23,6 +23,7 @@
 
 import javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException;
 import javax.enterprise.deploy.spi.factories.DeploymentFactory;
+import javax.enterprise.deploy.shared.factories.DeploymentFactoryManager;
 
 import org.apache.geronimo.deployment.ModuleConfigurer;
 import org.apache.geronimo.deployment.plugin.jmx.RemoteDeploymentManager;
@@ -45,6 +46,7 @@
             throw new IllegalArgumentException("kernel is required");
         }
         this.kernel = kernel;
+        DeploymentFactoryManager.getInstance().registerDeploymentFactory(this);
     }
     
     protected Collection<ModuleConfigurer> getModuleConfigurers() throws DeploymentManagerCreationException
{



Mime
View raw message