@Immutable public final class MultiplexingMBeanServer extends DelegatingMBeanServer
| Constructor and Description |
|---|
MultiplexingMBeanServer(MBeanServer mbs,
ObjectNameModifier modifier) |
deserialize, deserialize, getClassLoader, getClassLoaderRepository, getDefaultDomain, getDomains, instantiate, instantiate, instantiate, instantiatepublic MultiplexingMBeanServer(MBeanServer mbs, ObjectNameModifier modifier)
public void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException
addNotificationListener in interface MBeanServeraddNotificationListener in interface MBeanServerConnectionaddNotificationListener in class DelegatingMBeanServerInstanceNotFoundExceptionpublic void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException
addNotificationListener in interface MBeanServeraddNotificationListener in interface MBeanServerConnectionaddNotificationListener in class DelegatingMBeanServerInstanceNotFoundExceptionpublic ObjectInstance createMBean(String className, ObjectName name) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException
createMBean in interface MBeanServercreateMBean in interface MBeanServerConnectioncreateMBean in class DelegatingMBeanServerReflectionExceptionInstanceAlreadyExistsExceptionMBeanRegistrationExceptionMBeanExceptionNotCompliantMBeanExceptionpublic ObjectInstance createMBean(String className, ObjectName name, Object[] params, String[] signature) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException
createMBean in interface MBeanServercreateMBean in interface MBeanServerConnectioncreateMBean in class DelegatingMBeanServerReflectionExceptionInstanceAlreadyExistsExceptionMBeanRegistrationExceptionMBeanExceptionNotCompliantMBeanExceptionpublic ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException
createMBean in interface MBeanServercreateMBean in interface MBeanServerConnectioncreateMBean in class DelegatingMBeanServerReflectionExceptionInstanceAlreadyExistsExceptionMBeanRegistrationExceptionMBeanExceptionNotCompliantMBeanExceptionInstanceNotFoundExceptionpublic 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 MBeanServerConnectioncreateMBean in class DelegatingMBeanServerReflectionExceptionInstanceAlreadyExistsExceptionMBeanRegistrationExceptionMBeanExceptionNotCompliantMBeanExceptionInstanceNotFoundException@Deprecated public ObjectInputStream deserialize(ObjectName name, byte[] data) throws InstanceNotFoundException, OperationsException
deserialize in interface MBeanServerdeserialize in class DelegatingMBeanServerInstanceNotFoundExceptionOperationsExceptionpublic Object getAttribute(ObjectName name, String attribute) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException
getAttribute in interface MBeanServergetAttribute in interface MBeanServerConnectiongetAttribute in class DelegatingMBeanServerMBeanExceptionAttributeNotFoundExceptionInstanceNotFoundExceptionReflectionExceptionpublic AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException
getAttributes in interface MBeanServergetAttributes in interface MBeanServerConnectiongetAttributes in class DelegatingMBeanServerInstanceNotFoundExceptionReflectionExceptionpublic ClassLoader getClassLoaderFor(ObjectName mbeanName) throws InstanceNotFoundException
getClassLoaderFor in interface MBeanServergetClassLoaderFor in class DelegatingMBeanServerInstanceNotFoundExceptionpublic Integer getMBeanCount()
getMBeanCount in interface MBeanServergetMBeanCount in interface MBeanServerConnectiongetMBeanCount in class DelegatingMBeanServerpublic MBeanInfo getMBeanInfo(ObjectName name) throws InstanceNotFoundException, IntrospectionException, ReflectionException
getMBeanInfo in interface MBeanServergetMBeanInfo in interface MBeanServerConnectiongetMBeanInfo in class DelegatingMBeanServerInstanceNotFoundExceptionIntrospectionExceptionReflectionExceptionpublic ObjectInstance getObjectInstance(ObjectName name) throws InstanceNotFoundException
getObjectInstance in interface MBeanServergetObjectInstance in interface MBeanServerConnectiongetObjectInstance in class DelegatingMBeanServerInstanceNotFoundExceptionpublic Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws InstanceNotFoundException, MBeanException, ReflectionException
invoke in interface MBeanServerinvoke in interface MBeanServerConnectioninvoke in class DelegatingMBeanServerInstanceNotFoundExceptionMBeanExceptionReflectionExceptionpublic boolean isInstanceOf(ObjectName name, String className) throws InstanceNotFoundException
isInstanceOf in interface MBeanServerisInstanceOf in interface MBeanServerConnectionisInstanceOf in class DelegatingMBeanServerInstanceNotFoundExceptionpublic boolean isRegistered(ObjectName name)
isRegistered in interface MBeanServerisRegistered in interface MBeanServerConnectionisRegistered in class DelegatingMBeanServerprotected MBeanServer mbs()
DelegatingMBeanServermbs in class DelegatingMBeanServerpublic Set<ObjectInstance> queryMBeans(ObjectName name, QueryExp query)
queryMBeans in interface MBeanServerqueryMBeans in interface MBeanServerConnectionqueryMBeans in class DelegatingMBeanServerpublic Set<ObjectName> queryNames(ObjectName name, QueryExp query)
queryNames in interface MBeanServerqueryNames in interface MBeanServerConnectionqueryNames in class DelegatingMBeanServerpublic ObjectInstance registerMBean(Object object, ObjectName name) throws InstanceAlreadyExistsException, MBeanRegistrationException, NotCompliantMBeanException
registerMBean in interface MBeanServerregisterMBean in class DelegatingMBeanServerInstanceAlreadyExistsExceptionMBeanRegistrationExceptionNotCompliantMBeanExceptionpublic void removeNotificationListener(ObjectName name, NotificationListener listener) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener in interface MBeanServerremoveNotificationListener in interface MBeanServerConnectionremoveNotificationListener in class DelegatingMBeanServerInstanceNotFoundExceptionListenerNotFoundExceptionpublic void removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener in interface MBeanServerremoveNotificationListener in interface MBeanServerConnectionremoveNotificationListener in class DelegatingMBeanServerInstanceNotFoundExceptionListenerNotFoundExceptionpublic void removeNotificationListener(ObjectName name, ObjectName listener) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener in interface MBeanServerremoveNotificationListener in interface MBeanServerConnectionremoveNotificationListener in class DelegatingMBeanServerInstanceNotFoundExceptionListenerNotFoundExceptionpublic void removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException
removeNotificationListener in interface MBeanServerremoveNotificationListener in interface MBeanServerConnectionremoveNotificationListener in class DelegatingMBeanServerInstanceNotFoundExceptionListenerNotFoundExceptionpublic void setAttribute(ObjectName name, Attribute attribute) throws InstanceNotFoundException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException
setAttribute in interface MBeanServersetAttribute in interface MBeanServerConnectionsetAttribute in class DelegatingMBeanServerInstanceNotFoundExceptionAttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionExceptionpublic AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException
setAttributes in interface MBeanServersetAttributes in interface MBeanServerConnectionsetAttributes in class DelegatingMBeanServerInstanceNotFoundExceptionReflectionExceptionpublic void unregisterMBean(ObjectName name) throws MBeanRegistrationException, InstanceNotFoundException
unregisterMBean in interface MBeanServerunregisterMBean in interface MBeanServerConnectionunregisterMBean in class DelegatingMBeanServerMBeanRegistrationExceptionInstanceNotFoundExceptionCopyright © 2012–2016 Schlichtherle IT Services. All rights reserved.