[jboss-cvs] JBossAS SVN: r64722 - trunk/bootstrap/src/main/org/jboss/bootstrap/microcontainer.

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Mon Aug 20 16:24:18 EDT 2007


Author: alesj
Date: 2007-08-20 16:24:18 -0400 (Mon, 20 Aug 2007)
New Revision: 64722

Modified:
   trunk/bootstrap/src/main/org/jboss/bootstrap/microcontainer/ServerImpl.java
Log:
Fixing usage of bootstrap field - part 2.

Modified: trunk/bootstrap/src/main/org/jboss/bootstrap/microcontainer/ServerImpl.java
===================================================================
--- trunk/bootstrap/src/main/org/jboss/bootstrap/microcontainer/ServerImpl.java	2007-08-20 20:21:35 UTC (rev 64721)
+++ trunk/bootstrap/src/main/org/jboss/bootstrap/microcontainer/ServerImpl.java	2007-08-20 20:24:18 UTC (rev 64722)
@@ -70,7 +70,7 @@
    protected void doStart(StopWatch watch) throws Throwable
    {
       // Bootstrap the kernel
-      bootstrap = new BasicBootstrap();
+      BasicBootstrap bootstrap = new BasicBootstrap();
       bootstrap.run();
       kernel = bootstrap.getKernel();
 
@@ -106,6 +106,8 @@
       // Send a notification that the startup is complete
       KernelEvent startEvent = bootstrap.createEvent(START_NOTIFICATION_TYPE, new Long(watch.getLapTime()));
       bootstrap.fireKernelEvent(startEvent);
+
+      this.bootstrap = bootstrap;
    }
 
    @Override




More information about the jboss-cvs-commits mailing list