com.sun.jdmk
Interface MBeanServerInt

All Superinterfaces:
MBeanInterceptor, MBeanServerInterceptor, NotificationRegistration, ProxyHandler
All Known Implementing Classes:
MBeanServerImpl

Deprecated. Use JdmkMBeanServer instead.

public interface MBeanServerInt
extends MBeanServerInterceptor

Extends the MBeanInterceptor interface to provide methods for getting and setting the DefaultMBeanInterceptor used for request treatment, getters for the MetaData and MBeanInstantiator objects associated to the MBeanServer and a getter for the class loader of an MBean given its ObjectName.

Since:
Java DMK 5.0

Method Summary
 MBeanInterceptor getDefaultMBeanInterceptor()
          Deprecated. use JdmkMBeanServer.getMBeanServerInterceptor()
 MBeanInstantiator getMBeanInstantiator()
          Deprecated. Return the MBeanInstantiator associated to this MBeanServer.
 MBeanServerDelegate getMBeanServerDelegate()
          Deprecated. Return the MBeanServerDelegate representing the MBeanServer
 MetaData getMetaData()
          Deprecated. Return the MetaData associated to this MBeanServer.
 void setDefaultMBeanInterceptor(MBeanInterceptor interceptor)
          Deprecated. use JdmkMBeanServer.setMBeanServerInterceptor(com.sun.jdmk.interceptor.MBeanServerInterceptor)
 
Methods inherited from interface com.sun.jdmk.interceptor.MBeanServerInterceptor
getClassLoader, getClassLoaderFor, getDomains, getMBeanClassLoader, removeNotificationListener, removeNotificationListener
 
Methods inherited from interface com.sun.jdmk.MBeanInterceptor
addNotificationListener, addNotificationListener, createMBean, createMBean, getAttribute, getAttributes, getDefaultDomain, getMBeanCount, getMBeanInfo, getObjectInstance, invoke, isInstanceOf, isRegistered, queryMBeans, queryNames, registerMBean, removeNotificationListener, removeNotificationListener, setAttribute, setAttributes, unregisterMBean
 

Method Detail

getDefaultMBeanInterceptor

MBeanInterceptor getDefaultMBeanInterceptor()
Deprecated. use JdmkMBeanServer.getMBeanServerInterceptor()

Return the MBeanInterceptor to which all requests from the MBeanServer interface are forwarded.


setDefaultMBeanInterceptor

void setDefaultMBeanInterceptor(MBeanInterceptor interceptor)
                                throws IllegalArgumentException
Deprecated. use JdmkMBeanServer.setMBeanServerInterceptor(com.sun.jdmk.interceptor.MBeanServerInterceptor)

Change the MBeanInterceptor 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.

getMBeanInstantiator

MBeanInstantiator getMBeanInstantiator()
Deprecated. 
Return the MBeanInstantiator associated to this MBeanServer.


getMetaData

MetaData getMetaData()
Deprecated. 
Return the MetaData associated to this MBeanServer.


getMBeanServerDelegate

MBeanServerDelegate getMBeanServerDelegate()
Deprecated. 
Return the MBeanServerDelegate representing the MBeanServer


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.