org.jboss.system.server.jmx
Class MBeanServerBuilderImpl
java.lang.Object
javax.management.MBeanServerBuilder
org.jboss.system.server.jmx.MBeanServerBuilderImpl
public class MBeanServerBuilderImpl
- extends javax.management.MBeanServerBuilder
An @link{MBeanServerBuilder} that creates a LazyMBeanServer instance to allow
the jboss MBeanServerImpl to be created when the ServerImpl is loaded and
the jboss jmx classes are available. It can be used at startup using
-Djavax.management.builder.initial=org.jboss.system.server.jmx.MBeanServerBuilderImpl
This is needed when enabling the jdk5 jconsole remote adaptor since this
adaptor initializes the platform MBeanServer before the jboss ServerImpl
is loaded.
- Version:
- $Revision: 1.1.2.1 $
- Author:
- Scott.Stark@jboss.org
Method Summary |
javax.management.MBeanServer |
newMBeanServer(String defaultDomain,
javax.management.MBeanServer outer,
javax.management.MBeanServerDelegate delegate)
Creates a @{link LazyMBeanServer} as the MBeanServer. |
javax.management.MBeanServerDelegate |
newMBeanServerDelegate()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanServerBuilderImpl
public MBeanServerBuilderImpl()
newMBeanServerDelegate
public javax.management.MBeanServerDelegate newMBeanServerDelegate()
- Overrides:
newMBeanServerDelegate
in class javax.management.MBeanServerBuilder
- Returns:
- @{link MBeanServerDelegate}
newMBeanServer
public javax.management.MBeanServer newMBeanServer(String defaultDomain,
javax.management.MBeanServer outer,
javax.management.MBeanServerDelegate delegate)
- Creates a @{link LazyMBeanServer} as the MBeanServer. If the outer
parameter is null, the outer passed to the LazyMBeanServer is the
platform mbean server as obtained from
super.newMBeanServer(defaultDomain, outer, delegate).
- Overrides:
newMBeanServer
in class javax.management.MBeanServerBuilder
- Parameters:
defaultDomain
- outer
- delegate
-
- Returns:
- LazyMBeanServer
Copyright © 2002 JBoss Group, LLC. All Rights Reserved.