mx4j.server
public class MX4JMBeanServerBuilder extends MBeanServerBuilder
This class is responsible for creating new instances of {@link MBeanServerDelegate}
and {@link MBeanServer}. It creates instances from the implementation in the
mx4j.server
package.
The {@link 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.
Version: $Revision: 1.7 $
See Also: MBeanServer javax.management.MBeanServerFactory
Method Summary | |
---|---|
MBeanServer | newMBeanServer(String defaultDomain, MBeanServer outer, MBeanServerDelegate delegate)
Returns a new {@link MX4JMBeanServer} instance.
|
MBeanServerDelegate | newMBeanServerDelegate()
Returns a new {@link MX4JMBeanServerDelegate} instance for a new MBeanServer.
|
Parameters: defaultDomain the default domain name for the new server. outer the {@link MBeanServer} that is passed in calls to {@link javax.management.MBeanRegistration#preRegister(javax.management.MBeanServer, javax.management.ObjectName)}. delegate the {@link MBeanServerDelegate} instance for the new server.
Returns: a new {@link MX4JMBeanServer} instance.
Returns: a new {@link MX4JMBeanServerDelegate} instance for a new MBeanServer.