public interface

SunJmxMBeanServer

implements MBeanServerInterceptor MBeanServer
com.sun.jmx.mbeanserver.SunJmxMBeanServer
Known Indirect Subclasses

Class Overview

Extends the MBeanServer and MBeanServerInterceptor interface to provide methods for getting the MetaData and MBeanServerInstantiator objects associated with an MBeanServer.

Summary

Public Methods
abstract MBeanInstantiator getMBeanInstantiator()
Return the MBeanInstantiator associated to this MBeanServer.
abstract MBeanServerDelegate getMBeanServerDelegate()

Return the MBeanServerDelegate representing the MBeanServer.

abstract MBeanServerInterceptor getMBeanServerInterceptor()
Return the MBeanServerInterceptor.
abstract boolean interceptorsEnabled()
Tell whether MBeanServerInterceptors are enabled on this object.
abstract void setMBeanServerInterceptor(MBeanServerInterceptor interceptor)
Set the MBeanServerInterceptor.
[Expand]
Inherited Methods
From interface com.sun.jmx.interceptor.MBeanServerInterceptor
From interface javax.management.MBeanServer
From interface javax.management.MBeanServerConnection

Public Methods

public abstract MBeanInstantiator getMBeanInstantiator ()

Return the MBeanInstantiator associated to this MBeanServer.

Throws
UnsupportedOperationException if MBeanServerInterceptors are not enabled on this object.

public abstract MBeanServerDelegate getMBeanServerDelegate ()

Return the MBeanServerDelegate representing the MBeanServer. Notifications can be sent from the MBean server delegate using the method sendNotification(Notification) in the returned object.

public abstract MBeanServerInterceptor getMBeanServerInterceptor ()

Return the MBeanServerInterceptor.

Throws
UnsupportedOperationException if MBeanServerInterceptors are not enabled on this object.

public abstract boolean interceptorsEnabled ()

public abstract void setMBeanServerInterceptor (MBeanServerInterceptor interceptor)

Set the MBeanServerInterceptor.

Throws
UnsupportedOperationException if MBeanServerInterceptors are not enabled on this object.