mx4j.server
Class MX4JMBeanServerBuilder
java.lang.Object
javax.management.MBeanServerBuilder
mx4j.server.MX4JMBeanServerBuilder
public class MX4JMBeanServerBuilder
extends javax.management.MBeanServerBuilder
This class is responsible for creating new instances of
MBeanServerDelegate
and
MBeanServer
. It creates instances from the implementation in the
mx4j.server
package.
The
javax.management.MBeanServerFactory
first creates the delegate, then it
creates the MBeanServer and provides a reference to the created delegate to it.
Note that the delegate passed to the MBeanServer might not be the instance returned
by this builder; for example, it could be a wrapper around it.
MBeanServer
, javax.management.MBeanServerFactory
newMBeanServer
public javax.management.MBeanServer newMBeanServer(String defaultDomain,
javax.management.MBeanServer outer,
javax.management.MBeanServerDelegate delegate)
- newMBeanServer in interface javax.management.MBeanServerBuilder
defaultDomain
- the default domain name for the new server.outer
- the MBeanServer
that is passed in calls to
javax.management.MBeanRegistration.preRegister(javax.management.MBeanServer, javax.management.ObjectName)
.delegate
- the MBeanServerDelegate
instance for the new server.
newMBeanServerDelegate
public javax.management.MBeanServerDelegate newMBeanServerDelegate()
- newMBeanServerDelegate in interface javax.management.MBeanServerBuilder
Copyright © 2001-2005 The MX4J Contributors. All Rights Reserved.