org.jboss.system.server.jmx
Class MBeanServerBuilderImpl
java.lang.Object
javax.management.MBeanServerBuilder
org.jboss.system.server.jmx.MBeanServerBuilderImpl
public class MBeanServerBuilderImpl
- extends 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: 85945 $
- Author:
- Scott.Stark@jboss.org
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MBeanServerBuilderImpl
public MBeanServerBuilderImpl()
newMBeanServerDelegate
public MBeanServerDelegate newMBeanServerDelegate()
- Overrides:
newMBeanServerDelegate
in class MBeanServerBuilder
- Returns:
- @{link MBeanServerDelegate}
newMBeanServer
public MBeanServer newMBeanServer(String defaultDomain,
MBeanServer outer,
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 MBeanServerBuilder
- Parameters:
defaultDomain
- outer
- delegate
-
- Returns:
- LazyMBeanServer
Copyright © 2009 JBoss, a division of Red Hat, Inc.. All Rights Reserved.