public class GemfireMBeanServerConnection extends Object implements MBeanServerConnection
| Constructor and Description |
|---|
GemfireMBeanServerConnection(com.gemstone.gemfire.management.ManagementService service) |
public GemfireMBeanServerConnection(com.gemstone.gemfire.management.ManagementService service)
public ObjectInstance createMBean(String className, ObjectName name) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, IOException
createMBean in interface MBeanServerConnectionReflectionExceptionInstanceAlreadyExistsExceptionMBeanRegistrationExceptionMBeanExceptionNotCompliantMBeanExceptionIOExceptionpublic ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException, IOException
public ObjectInstance createMBean(String className, ObjectName name, Object[] params, String[] signature) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, IOException
createMBean in interface MBeanServerConnectionReflectionExceptionInstanceAlreadyExistsExceptionMBeanRegistrationExceptionMBeanExceptionNotCompliantMBeanExceptionIOExceptionpublic ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature) throws ReflectionException, InstanceAlreadyExistsException, MBeanRegistrationException, MBeanException, NotCompliantMBeanException, InstanceNotFoundException, IOException
public void unregisterMBean(ObjectName name) throws InstanceNotFoundException, MBeanRegistrationException, IOException
unregisterMBean in interface MBeanServerConnectionInstanceNotFoundExceptionMBeanRegistrationExceptionIOExceptionpublic ObjectInstance getObjectInstance(ObjectName name) throws InstanceNotFoundException, IOException
getObjectInstance in interface MBeanServerConnectionInstanceNotFoundExceptionIOExceptionpublic Set<ObjectInstance> queryMBeans(ObjectName name, QueryExp query) throws IOException
queryMBeans in interface MBeanServerConnectionIOExceptionpublic Set<ObjectName> queryNames(ObjectName name, QueryExp query) throws IOException
queryNames in interface MBeanServerConnectionIOExceptionpublic boolean isRegistered(ObjectName name) throws IOException
isRegistered in interface MBeanServerConnectionIOExceptionpublic Integer getMBeanCount() throws IOException
getMBeanCount in interface MBeanServerConnectionIOExceptionpublic AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException, IOException
setAttributes in interface MBeanServerConnectionInstanceNotFoundExceptionReflectionExceptionIOExceptionpublic String getDefaultDomain() throws IOException
getDefaultDomain in interface MBeanServerConnectionIOExceptionpublic String[] getDomains() throws IOException
getDomains in interface MBeanServerConnectionIOExceptionpublic void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, IOException
addNotificationListener in interface MBeanServerConnectionInstanceNotFoundExceptionIOExceptionpublic void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, IOException
addNotificationListener in interface MBeanServerConnectionInstanceNotFoundExceptionIOExceptionpublic void removeNotificationListener(ObjectName name, ObjectName listener) throws InstanceNotFoundException, ListenerNotFoundException, IOException
removeNotificationListener in interface MBeanServerConnectionInstanceNotFoundExceptionListenerNotFoundExceptionIOExceptionpublic void removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException, IOException
removeNotificationListener in interface MBeanServerConnectionInstanceNotFoundExceptionListenerNotFoundExceptionIOExceptionpublic void removeNotificationListener(ObjectName name, NotificationListener listener) throws InstanceNotFoundException, ListenerNotFoundException, IOException
removeNotificationListener in interface MBeanServerConnectionInstanceNotFoundExceptionListenerNotFoundExceptionIOExceptionpublic void removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback) throws InstanceNotFoundException, ListenerNotFoundException, IOException
removeNotificationListener in interface MBeanServerConnectionInstanceNotFoundExceptionListenerNotFoundExceptionIOExceptionpublic MBeanInfo getMBeanInfo(ObjectName name) throws InstanceNotFoundException, IntrospectionException, ReflectionException, IOException
getMBeanInfo in interface MBeanServerConnectionInstanceNotFoundExceptionIntrospectionExceptionReflectionExceptionIOExceptionpublic boolean isInstanceOf(ObjectName name, String className) throws InstanceNotFoundException, IOException
isInstanceOf in interface MBeanServerConnectionInstanceNotFoundExceptionIOExceptionpublic Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws InstanceNotFoundException, MBeanException, ReflectionException, IOException
invoke in interface MBeanServerConnectionInstanceNotFoundExceptionMBeanExceptionReflectionExceptionIOExceptionpublic Object getAttribute(ObjectName name, String attribute) throws MBeanException, AttributeNotFoundException, InstanceNotFoundException, ReflectionException, IOException
getAttribute in interface MBeanServerConnectionMBeanExceptionAttributeNotFoundExceptionInstanceNotFoundExceptionReflectionExceptionIOExceptionpublic AttributeList getAttributes(ObjectName name, String[] attributes) throws InstanceNotFoundException, ReflectionException, IOException
getAttributes in interface MBeanServerConnectionInstanceNotFoundExceptionReflectionExceptionIOExceptionpublic void setAttribute(ObjectName name, Attribute attribute) throws InstanceNotFoundException, AttributeNotFoundException, InvalidAttributeValueException, MBeanException, ReflectionException, IOException
setAttribute in interface MBeanServerConnectionInstanceNotFoundExceptionAttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionExceptionIOExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.