[Jboss-cvs] JBossAS SVN: r55480 - branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/server/jmx

jboss-cvs-commits at lists.jboss.org jboss-cvs-commits at lists.jboss.org
Wed Aug 9 23:49:15 EDT 2006


Author: scott.stark at jboss.org
Date: 2006-08-09 23:49:13 -0400 (Wed, 09 Aug 2006)
New Revision: 55480

Modified:
   branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/server/jmx/JMXKernel.java
Log:
Expose the correct serverConfig mbean instance and create the broadcasterSupport before the first notification

Modified: branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/server/jmx/JMXKernel.java
===================================================================
--- branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/server/jmx/JMXKernel.java	2006-08-10 03:48:21 UTC (rev 55479)
+++ branches/MC_VDF_WORK/system-jmx/src/main/org/jboss/system/server/jmx/JMXKernel.java	2006-08-10 03:49:13 UTC (rev 55480)
@@ -146,7 +146,7 @@
 
       // Register mbeanServer components
       mbeanServer.registerMBean(this, ServerImplMBean.OBJECT_NAME);
-      mbeanServer.registerMBean(serverConfig, ServerConfigImplMBean.OBJECT_NAME);
+      mbeanServer.registerMBean(serverConfigMBean, ServerConfigImplMBean.OBJECT_NAME);
 
       // Initialize spine boot libraries
       RepositoryClassLoader ucl = initBootLibraries();
@@ -160,7 +160,7 @@
          Thread.currentThread().setContextClassLoader(ucl);
    
          // General Purpose Architecture information
-         createMBean("org.jboss.system.mbeanServer.ServerInfo",
+         createMBean("org.jboss.system.server.ServerInfo",
             "jboss.system:type=ServerInfo");
    
          // Service Controller
@@ -174,6 +174,7 @@
          long end = System.currentTimeMillis();
          
          // Send a notification that the startup is complete
+         broadcasterSupport = new JBossNotificationBroadcasterSupport();
          Notification msg = new Notification(Server.START_NOTIFICATION_TYPE, this, 1);
          msg.setUserData(new Long(end - start));
          sendNotification(msg);




More information about the jboss-cvs-commits mailing list