com.sun.jdmk
Class JdmkMBeanServerBuilder
java.lang.Object
javax.management.MBeanServerBuilder
com.sun.jdmk.JdmkMBeanServerBuilder
public class JdmkMBeanServerBuilder
- extends MBeanServerBuilder
This class represents a builder that creates Java DMK 5.1
MBeanServer
implementations.
The JMX MBeanServerFactory
allows
for applications to provide their custom MBeanServer
implementation. This class used to wrap a Java DMK 5.1 MBeanServer
around a Sun JMX 1.2 RI MBeanServer, thus adding the possibility
to plug MBeanServerInterceptor
in the MBeanServer.
In order to set the Java DMK 5.1 MBeanServerBuilder as default
initial builder, you should specify
-Djavax.management.builder.initial=com.sun.jdmk.JdmkMBeanServerBuilder
on the Java command line.
- Since:
- Java DMK 5.1
- See Also:
MBeanServerFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JdmkMBeanServerBuilder
public JdmkMBeanServerBuilder()
- Creates a new Java DMK MBeanServerBuilder. The Java DMK
MBeanServer implementation wraps the JMX MBeanServer implementation,
and provides advanced features such as
MBeanServerInterceptors
.
The JdmkMBeanServerBuilder created by this constructor wraps
a new MBeanServerBuilder
, from which
the JMX MBeanServer is obtained.
If you set the Java DMK MBeanServerBuilder as the default builder
by specifying
-Djavax.management.builder.initial=com.sun.jdmk.JdmkMBeanServerBuilder
on the Java command line, this constructor will be called.
newMBeanServerDelegate
public MBeanServerDelegate newMBeanServerDelegate()
- Overrides:
newMBeanServerDelegate
in class MBeanServerBuilder
newMBeanServer
public MBeanServer newMBeanServer(String defaultDomain,
MBeanServer outer,
MBeanServerDelegate delegate)
- Overrides:
newMBeanServer
in class MBeanServerBuilder
Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.