@Immutable public abstract class DelegatingMBeanServer extends Object implements MBeanServer
| Constructor and Description |
|---|
DelegatingMBeanServer() |
public void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException
addNotificationListener in interface MBeanServeraddNotificationListener in interface MBeanServerConnectionInstanceNotFoundExceptionpublic void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException
addNotificationListener in interface MBeanServeraddNotificationListener in interface MBeanServerConnectionInstanceNotFoundExceptionpublic ObjectInstance createMBean(String className, ObjectName name) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException
createMBean in interface MBeanServercreateMBean in interface MBeanServerConnectionReflectionExceptionInstanceAlreadyExistsExceptionMBeanRegistrationExceptionMBeanExceptionNotCompliantMBeanExceptionpublic ObjectInstance createMBean(String className, ObjectName name, Object[] params, String[] signature) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException
createMBean in interface MBeanServercreateMBean in interface MBeanServerConnectionReflectionExceptionInstanceAlreadyExistsExceptionMBeanRegistrationExceptionMBeanExceptionNotCompliantMBeanExceptionpublic ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException
createMBean in interface MBeanServercreateMBean in interface MBeanServerConnectionReflectionExceptionInstanceAlreadyExistsExceptionMBeanRegistrationExceptionMBeanExceptionNotCompliantMBeanExceptionInstanceNotFoundExceptionpublic ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException
createMBean in interface MBeanServercreateMBean in interface MBeanServerConnectionReflectionExceptionInstanceAlreadyExistsExceptionMBeanRegistrationExceptionMBeanExceptionNotCompliantMBeanExceptionInstanceNotFoundException@Deprecated public ObjectInputStream deserialize(ObjectName name, byte[] data) throws InstanceNotFoundException, OperationsException
deserialize in interface MBeanServerInstanceNotFoundExceptionOperationsException@Deprecated public ObjectInputStream deserialize(String className, byte[] data) throws OperationsException, ReflectionException
deserialize in interface MBeanServerOperationsExceptionReflectionException@Deprecated public ObjectInputStream deserialize(String className, ObjectName loaderName, byte[] data) throws InstanceNotFoundException, OperationsException, ReflectionException
deserialize in interface MBeanServerInstanceNotFoundExceptionOperationsExceptionReflectionExceptionpublic Object getAttribute(ObjectName name, String attribute) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException
getAttribute in interface MBeanServergetAttribute in interface MBeanServerConnectionMBeanExceptionAttributeNotFoundExceptionInstanceNotFoundExceptionReflectionExceptionpublic AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException
getAttributes in interface MBeanServergetAttributes in interface MBeanServerConnectionInstanceNotFoundExceptionReflectionExceptionpublic ClassLoader getClassLoader(ObjectName loaderName) throws InstanceNotFoundException
getClassLoader in interface MBeanServerInstanceNotFoundExceptionpublic ClassLoader getClassLoaderFor(ObjectName mbeanName) throws InstanceNotFoundException
getClassLoaderFor in interface MBeanServerInstanceNotFoundExceptionpublic ClassLoaderRepository getClassLoaderRepository()
getClassLoaderRepository in interface MBeanServerpublic String getDefaultDomain()
getDefaultDomain in interface MBeanServergetDefaultDomain in interface MBeanServerConnectionpublic String[] getDomains()
getDomains in interface MBeanServergetDomains in interface MBeanServerConnectionpublic Integer getMBeanCount()
getMBeanCount in interface MBeanServergetMBeanCount in interface MBeanServerConnectionpublic MBeanInfo getMBeanInfo(ObjectName name) throws InstanceNotFoundException, IntrospectionException, ReflectionException
getMBeanInfo in interface MBeanServergetMBeanInfo in interface MBeanServerConnectionInstanceNotFoundExceptionIntrospectionExceptionReflectionExceptionpublic ObjectInstance getObjectInstance(ObjectName name) throws InstanceNotFoundException
getObjectInstance in interface MBeanServergetObjectInstance in interface MBeanServerConnectionInstanceNotFoundExceptionpublic Object instantiate(String className) throws ReflectionException, MBeanException
instantiate in interface MBeanServerReflectionExceptionMBeanExceptionpublic Object instantiate(String className, Object[] params, String[] signature) throws ReflectionException, MBeanException
instantiate in interface MBeanServerReflectionExceptionMBeanExceptionpublic Object instantiate(String className, ObjectName loaderName) throws ReflectionException, MBeanException, InstanceNotFoundException
instantiate in interface MBeanServerReflectionExceptionMBeanExceptionInstanceNotFoundExceptionpublic Object instantiate(String className, ObjectName loaderName, Object[] params, String[] signature) throws ReflectionException, MBeanException, InstanceNotFoundException
instantiate in interface MBeanServerReflectionExceptionMBeanExceptionInstanceNotFoundExceptionpublic Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws InstanceNotFoundException, MBeanException, ReflectionException
invoke in interface MBeanServerinvoke in interface MBeanServerConnectionInstanceNotFoundExceptionMBeanExceptionReflectionExceptionpublic boolean isInstanceOf(ObjectName name, String className) throws InstanceNotFoundException
isInstanceOf in interface MBeanServerisInstanceOf in interface MBeanServerConnectionInstanceNotFoundExceptionpublic boolean isRegistered(ObjectName name)
isRegistered in interface MBeanServerisRegistered in interface MBeanServerConnectionprotected abstract MBeanServer mbs()
public Set<ObjectInstance> queryMBeans(ObjectName name, QueryExp query)
queryMBeans in interface MBeanServerqueryMBeans in interface MBeanServerConnectionpublic Set<ObjectName> queryNames(ObjectName name, QueryExp query)
queryNames in interface MBeanServerqueryNames in interface MBeanServerConnectionpublic ObjectInstance registerMBean(Object object, ObjectName name) throws InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException
registerMBean in interface MBeanServerInstanceAlreadyExistsExceptionMBeanRegistrationExceptionNotCompliantMBeanExceptionpublic void removeNotificationListener(ObjectName name, NotificationListener listener) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener in interface MBeanServerremoveNotificationListener in interface MBeanServerConnectionInstanceNotFoundExceptionListenerNotFoundExceptionpublic void removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener in interface MBeanServerremoveNotificationListener in interface MBeanServerConnectionInstanceNotFoundExceptionListenerNotFoundExceptionpublic void removeNotificationListener(ObjectName name, ObjectName listener) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener in interface MBeanServerremoveNotificationListener in interface MBeanServerConnectionInstanceNotFoundExceptionListenerNotFoundExceptionpublic void removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener in interface MBeanServerremoveNotificationListener in interface MBeanServerConnectionInstanceNotFoundExceptionListenerNotFoundExceptionpublic void setAttribute(ObjectName name, Attribute attribute) throws InstanceNotFoundException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute in interface MBeanServersetAttribute in interface MBeanServerConnectionInstanceNotFoundExceptionAttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionExceptionpublic AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException
setAttributes in interface MBeanServersetAttributes in interface MBeanServerConnectionInstanceNotFoundExceptionReflectionExceptionpublic void unregisterMBean(ObjectName name) throws MBeanRegistrationException, InstanceNotFoundException
unregisterMBean in interface MBeanServerunregisterMBean in interface MBeanServerConnectionMBeanRegistrationExceptionInstanceNotFoundExceptionCopyright © 2012–2018 Schlichtherle IT Services. All rights reserved.