com.sun.jdmk
Interface JdmkMBeanServer

All Superinterfaces:
javax.management.MBeanServer, javax.management.MBeanServerConnection

public interface JdmkMBeanServer
extends javax.management.MBeanServer

Extends the MBeanServer interface to provide methods for getting and setting the MBeanServerInterceptor to which all requests are delegated.

Since:
Java DMK 5.1

Method Summary
 javax.management.MBeanServerDelegate getMBeanServerDelegate()
          Return the MBeanServerDelegate representing the MBeanServer.
 MBeanServerInterceptor getMBeanServerInterceptor()
          Return the MBeanServerInterceptor to which all requests from the MBeanServer interface are forwarded.
 javax.management.MBeanServer getOuterMBeanServer()
          Return the MBeanServer that must be passed as parameter to the MBeanRegistration interface.
 void setMBeanServerInterceptor(MBeanServerInterceptor interceptor)
          Change the MBeanServerInterceptor object to which all requests from the MBeanServer interface are forwarded.
 
Methods inherited from interface javax.management.MBeanServer
addNotificationListener, addNotificationListener, createMBean, createMBean, createMBean, createMBean, deserialize, deserialize, deserialize, getAttribute, getAttributes, getClassLoader, getClassLoaderFor, getClassLoaderRepository, getDefaultDomain, getDomains, getMBeanCount, getMBeanInfo, getObjectInstance, instantiate, instantiate, instantiate, instantiate, invoke, isInstanceOf, isRegistered, queryMBeans, queryNames, registerMBean, removeNotificationListener, removeNotificationListener, removeNotificationListener, removeNotificationListener, setAttribute, setAttributes, unregisterMBean
 

Method Detail

getMBeanServerInterceptor

MBeanServerInterceptor getMBeanServerInterceptor()
Return the MBeanServerInterceptor to which all requests from the MBeanServer interface are forwarded.


setMBeanServerInterceptor

void setMBeanServerInterceptor(MBeanServerInterceptor interceptor)
                               throws java.lang.IllegalArgumentException

Change the MBeanServerInterceptor object to which all requests from the MBeanServer interface are forwarded. The old object is lost unless it was accessible by other means.

Parameters:
interceptor - the new object.
Throws:
java.lang.IllegalArgumentException - if interceptor is null.

getMBeanServerDelegate

javax.management.MBeanServerDelegate getMBeanServerDelegate()

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


getOuterMBeanServer

javax.management.MBeanServer getOuterMBeanServer()
Return the MBeanServer that must be passed as parameter to the MBeanRegistration interface.


Open Source build 01-ea
opendmk-1.0-b01-ea 2010.10.22_13:26:06_UTC

Copyright 1998-2007 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.