geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jdil...@apache.org
Subject svn commit: r697030 - in /geronimo/gshell/trunk/gshell-wisdom: gshell-wisdom-bootstrap/src/main/java/org/apache/geronimo/gshell/wisdom/application/ gshell-wisdom-bootstrap/src/main/java/org/apache/geronimo/gshell/wisdom/builder/ gshell-wisdom-core/src/...
Date Fri, 19 Sep 2008 10:15:18 GMT
Author: jdillon
Date: Fri Sep 19 03:15:18 2008
New Revision: 697030

URL: http://svn.apache.org/viewvc?rev=697030&view=rev
Log:
Explicitly start containers

Modified:
    geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/java/org/apache/geronimo/gshell/wisdom/application/ApplicationManagerImpl.java
    geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/java/org/apache/geronimo/gshell/wisdom/builder/ShellBuilderImpl.java
    geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/PluginManagerImpl.java

Modified: geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/java/org/apache/geronimo/gshell/wisdom/application/ApplicationManagerImpl.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/java/org/apache/geronimo/gshell/wisdom/application/ApplicationManagerImpl.java?rev=697030&r1=697029&r2=697030&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/java/org/apache/geronimo/gshell/wisdom/application/ApplicationManagerImpl.java
(original)
+++ geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/java/org/apache/geronimo/gshell/wisdom/application/ApplicationManagerImpl.java
Fri Sep 19 03:15:18 2008
@@ -174,6 +174,7 @@
 
         // Create the application container
         applicationContainer = createContainer(model);
+        applicationContainer.start();
     }
 
     private void configureArtifactManager(final ApplicationModel model) throws Exception
{

Modified: geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/java/org/apache/geronimo/gshell/wisdom/builder/ShellBuilderImpl.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/java/org/apache/geronimo/gshell/wisdom/builder/ShellBuilderImpl.java?rev=697030&r1=697029&r2=697030&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/java/org/apache/geronimo/gshell/wisdom/builder/ShellBuilderImpl.java
(original)
+++ geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-bootstrap/src/main/java/org/apache/geronimo/gshell/wisdom/builder/ShellBuilderImpl.java
Fri Sep 19 03:15:18 2008
@@ -188,7 +188,9 @@
         SystemOutputHijacker.register(io.outputStream, io.errorStream);
 
         // Initialize the container
-        getContainer();
+        BeanContainer container = getContainer();
+        container.start();
+        
         log.debug("Container: {}", container);
 
         //

Modified: geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/PluginManagerImpl.java
URL: http://svn.apache.org/viewvc/geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/PluginManagerImpl.java?rev=697030&r1=697029&r2=697030&view=diff
==============================================================================
--- geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/PluginManagerImpl.java
(original)
+++ geronimo/gshell/trunk/gshell-wisdom/gshell-wisdom-core/src/main/java/org/apache/geronimo/gshell/wisdom/plugin/PluginManagerImpl.java
Fri Sep 19 03:15:18 2008
@@ -125,7 +125,8 @@
         List<URL> classPath = createClassPath(artifact);
 
         BeanContainer pluginContainer = container.createChild("gshell.plugin[" + artifact.getId()
+ "]", classPath);
-
+        pluginContainer.start();
+        
         log.debug("Created plugin container: {}", pluginContainer);
         
         Plugin plugin = pluginContainer.getBean(Plugin.class);



Mime
View raw message