public static class HttpJmxConnector.HttpMBeanServerConnection extends Object implements MBeanServerConnection
| Constructor and Description |
|---|
HttpMBeanServerConnection(URI baseUri,
HttpMBeanServerCredentials credentials) |
public HttpMBeanServerConnection(URI baseUri, HttpMBeanServerCredentials credentials)
public 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 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 MBeanServerConnectionInstanceNotFoundExceptionAttributeNotFoundExceptionInvalidAttributeValueExceptionMBeanExceptionReflectionExceptionIOExceptionpublic AttributeList setAttributes(ObjectName name, AttributeList attributes) throws InstanceNotFoundException, ReflectionException, IOException
setAttributes in interface MBeanServerConnectionInstanceNotFoundExceptionReflectionExceptionIOExceptionpublic Object invoke(ObjectName name, String operationName, Object[] params, String[] signature) throws InstanceNotFoundException, MBeanException, ReflectionException, IOException
invoke in interface MBeanServerConnectionInstanceNotFoundExceptionMBeanExceptionReflectionExceptionIOExceptionpublic String getDefaultDomain() throws IOException
getDefaultDomain in interface MBeanServerConnectionIOExceptionpublic String[] getDomains() throws IOException
getDomains in interface MBeanServerConnectionIOExceptionpublic 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 ObjectInstance createMBean(String className, ObjectName name)
createMBean in interface MBeanServerConnectionpublic ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName)
createMBean in interface MBeanServerConnectionpublic ObjectInstance createMBean(String className, ObjectName name, Object[] params, String[] signature)
createMBean in interface MBeanServerConnectionpublic ObjectInstance createMBean(String className, ObjectName name, ObjectName loaderName, Object[] params, String[] signature)
createMBean in interface MBeanServerConnectionpublic void unregisterMBean(ObjectName name)
unregisterMBean in interface MBeanServerConnectionpublic void addNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
addNotificationListener in interface MBeanServerConnectionpublic void addNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
addNotificationListener in interface MBeanServerConnectionpublic void removeNotificationListener(ObjectName name, ObjectName listener)
removeNotificationListener in interface MBeanServerConnectionpublic void removeNotificationListener(ObjectName name, ObjectName listener, NotificationFilter filter, Object handback)
removeNotificationListener in interface MBeanServerConnectionpublic void removeNotificationListener(ObjectName name, NotificationListener listener)
removeNotificationListener in interface MBeanServerConnectionpublic void removeNotificationListener(ObjectName name, NotificationListener listener, NotificationFilter filter, Object handback)
removeNotificationListener in interface MBeanServerConnectionCopyright © 2010–2020 Airlift. All rights reserved.