APIdia Launch Partner
Top Description Methods
com.sun.jmx.mbeanserver

public Interface SunJmxMBeanServer

extends MBeanServer
Known Direct Implementers
com.sun.jmx.mbeanserver.JmxMBeanServer
Imports
javax.management.MBeanServer, .MBeanServerDelegate

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

Method Summary

Modifier and TypeMethod and Description
public MBeanInstantiator
getMBeanInstantiator()

Return the MBeanInstantiator associated to this MBeanServer.

public MBeanServerDelegate
getMBeanServerDelegate()

Return the MBeanServerDelegate representing the MBeanServer.

public MBeanServer
getMBeanServerInterceptor()

Return the MBeanServerInterceptor.

public boolean

Returns:

true if MBeanServerInterceptors are enabled.
interceptorsEnabled
()

Tell whether MBeanServerInterceptors are enabled on this object.

public void
setMBeanServerInterceptor(MBeanServer interceptor)

Set the MBeanServerInterceptor.

Inherited from javax.management.MBeanServer:
addNotificationListeneraddNotificationListenercreateMBeancreateMBeancreateMBeancreateMBeandeserializedeserializedeserializegetAttributegetAttributesgetClassLoadergetClassLoaderForgetClassLoaderRepositorygetDefaultDomaingetDomainsgetMBeanCountgetMBeanInfogetObjectInstanceinstantiateinstantiateinstantiateinstantiateinvokeisInstanceOfisRegisteredqueryMBeansqueryNamesregisterMBeanremoveNotificationListenerremoveNotificationListenerremoveNotificationListenerremoveNotificationListenersetAttributesetAttributesunregisterMBean

Method Detail

getMBeanInstantiatorback to summary
public MBeanInstantiator getMBeanInstantiator()

Return the MBeanInstantiator associated to this MBeanServer.

Exceptions
UnsupportedOperationException:
if MBeanServerInterceptors are not enabled on this object.
See Also
interceptorsEnabled
getMBeanServerDelegateback to summary
public MBeanServerDelegate getMBeanServerDelegate()

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

getMBeanServerInterceptorback to summary
public MBeanServer getMBeanServerInterceptor()

Return the MBeanServerInterceptor.

Exceptions
UnsupportedOperationException:
if MBeanServerInterceptors are not enabled on this object.
See Also
interceptorsEnabled
interceptorsEnabledback to summary
public boolean interceptorsEnabled()

Tell whether MBeanServerInterceptors are enabled on this object.

Returns:boolean

true if MBeanServerInterceptors are enabled.

See Also
getMBeanServerInterceptor, setMBeanServerInterceptor, getMBeanInstantiator, com.sun.jmx.mbeanserver.JmxMBeanServerBuilder
setMBeanServerInterceptorback to summary
public void setMBeanServerInterceptor(MBeanServer interceptor)

Set the MBeanServerInterceptor.

Exceptions
UnsupportedOperationException:
if MBeanServerInterceptors are not enabled on this object.
See Also
interceptorsEnabled