com.sun.jdmk
Interface JdmkMBeanServer

All Superinterfaces:
MBeanServer, MBeanServerConnection

public interface JdmkMBeanServer
extends 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
 MBeanServerDelegate getMBeanServerDelegate()
          Return the MBeanServerDelegate representing the MBeanServer.
 MBeanServerInterceptor getMBeanServerInterceptor()
          Return the MBeanServerInterceptor to which all requests from the MBeanServer interface are forwarded.
 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 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:
IllegalArgumentException - if interceptor is null.

getMBeanServerDelegate

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

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


Open Source build 02
opendmk-1.0-b02 2007.10.01_19:17:46_MEST

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