public class HessianMBeanServerConnection
extends java.lang.Object
implements javax.management.MBeanServerConnection
Constructor and Description |
---|
HessianMBeanServerConnection()
Creates the MBeanClient.
|
HessianMBeanServerConnection(java.lang.String url)
Creates the MBeanClient.
|
Modifier and Type | Method and Description |
---|---|
void |
addNotificationListener(javax.management.ObjectName name,
javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback) |
void |
addNotificationListener(javax.management.ObjectName name,
javax.management.ObjectName listener,
javax.management.NotificationFilter filter,
java.lang.Object handback) |
javax.management.ObjectInstance |
createMBean(java.lang.String className,
javax.management.ObjectName name) |
javax.management.ObjectInstance |
createMBean(java.lang.String className,
javax.management.ObjectName name,
java.lang.Object[] params,
java.lang.String[] signature) |
javax.management.ObjectInstance |
createMBean(java.lang.String className,
javax.management.ObjectName name,
javax.management.ObjectName loaderName) |
javax.management.ObjectInstance |
createMBean(java.lang.String className,
javax.management.ObjectName name,
javax.management.ObjectName loaderName,
java.lang.Object[] params,
java.lang.String[] signature) |
java.lang.Object |
getAttribute(javax.management.ObjectName objectName,
java.lang.String attrName)
Gets an attribute.
|
javax.management.AttributeList |
getAttributes(javax.management.ObjectName name,
java.lang.String[] attributes) |
java.lang.String |
getDefaultDomain() |
java.lang.String[] |
getDomains() |
java.lang.Integer |
getMBeanCount() |
javax.management.MBeanInfo |
getMBeanInfo(javax.management.ObjectName objectName)
Returns the mbean info
|
javax.management.ObjectInstance |
getObjectInstance(javax.management.ObjectName objectName)
Returns the object instance
|
java.lang.Object |
invoke(javax.management.ObjectName name,
java.lang.String operationName,
java.lang.Object[] params,
java.lang.String[] signature) |
boolean |
isInstanceOf(javax.management.ObjectName name,
java.lang.String className) |
boolean |
isRegistered(javax.management.ObjectName name) |
java.util.Set |
queryMBeans(javax.management.ObjectName name,
javax.management.QueryExp query) |
java.util.Set |
queryNames(javax.management.ObjectName name,
javax.management.QueryExp query) |
void |
removeNotificationListener(javax.management.ObjectName name,
javax.management.NotificationListener listener) |
void |
removeNotificationListener(javax.management.ObjectName name,
javax.management.NotificationListener listener,
javax.management.NotificationFilter filter,
java.lang.Object handback) |
void |
removeNotificationListener(javax.management.ObjectName name,
javax.management.ObjectName listener) |
void |
removeNotificationListener(javax.management.ObjectName name,
javax.management.ObjectName listener,
javax.management.NotificationFilter filter,
java.lang.Object handback) |
void |
setAttribute(javax.management.ObjectName name,
javax.management.Attribute attribute) |
javax.management.AttributeList |
setAttributes(javax.management.ObjectName name,
javax.management.AttributeList attributes) |
void |
setProxy(RemoteJMX proxy)
Sets the proxy
|
void |
unregisterMBean(javax.management.ObjectName name) |
public HessianMBeanServerConnection()
public HessianMBeanServerConnection(java.lang.String url)
public void setProxy(RemoteJMX proxy)
public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName objectName) throws javax.management.InstanceNotFoundException, javax.management.IntrospectionException, javax.management.ReflectionException, java.io.IOException
getMBeanInfo
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
javax.management.IntrospectionException
javax.management.ReflectionException
java.io.IOException
public boolean isInstanceOf(javax.management.ObjectName name, java.lang.String className) throws javax.management.InstanceNotFoundException, java.io.IOException
isInstanceOf
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
java.io.IOException
public java.lang.Object getAttribute(javax.management.ObjectName objectName, java.lang.String attrName) throws javax.management.MBeanException, javax.management.AttributeNotFoundException, javax.management.InstanceNotFoundException, javax.management.ReflectionException, java.io.IOException
getAttribute
in interface javax.management.MBeanServerConnection
javax.management.MBeanException
javax.management.AttributeNotFoundException
javax.management.InstanceNotFoundException
javax.management.ReflectionException
java.io.IOException
public javax.management.AttributeList getAttributes(javax.management.ObjectName name, java.lang.String[] attributes) throws javax.management.InstanceNotFoundException, javax.management.ReflectionException, java.io.IOException
getAttributes
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
javax.management.ReflectionException
java.io.IOException
public void setAttribute(javax.management.ObjectName name, javax.management.Attribute attribute) throws javax.management.InstanceNotFoundException, javax.management.AttributeNotFoundException, javax.management.InvalidAttributeValueException, javax.management.MBeanException, javax.management.ReflectionException, java.io.IOException
setAttribute
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException
java.io.IOException
public javax.management.AttributeList setAttributes(javax.management.ObjectName name, javax.management.AttributeList attributes) throws javax.management.InstanceNotFoundException, javax.management.ReflectionException, java.io.IOException
setAttributes
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
javax.management.ReflectionException
java.io.IOException
public java.lang.Object invoke(javax.management.ObjectName name, java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature) throws javax.management.InstanceNotFoundException, javax.management.MBeanException, javax.management.ReflectionException, java.io.IOException
invoke
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
javax.management.MBeanException
javax.management.ReflectionException
java.io.IOException
public java.lang.String getDefaultDomain() throws java.io.IOException
getDefaultDomain
in interface javax.management.MBeanServerConnection
java.io.IOException
public java.lang.String[] getDomains() throws java.io.IOException
getDomains
in interface javax.management.MBeanServerConnection
java.io.IOException
public void addNotificationListener(javax.management.ObjectName name, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback) throws javax.management.InstanceNotFoundException, java.io.IOException
addNotificationListener
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
java.io.IOException
public void addNotificationListener(javax.management.ObjectName name, javax.management.ObjectName listener, javax.management.NotificationFilter filter, java.lang.Object handback) throws javax.management.InstanceNotFoundException, java.io.IOException
addNotificationListener
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
java.io.IOException
public void removeNotificationListener(javax.management.ObjectName name, javax.management.ObjectName listener) throws javax.management.InstanceNotFoundException, javax.management.ListenerNotFoundException, java.io.IOException
removeNotificationListener
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
javax.management.ListenerNotFoundException
java.io.IOException
public void removeNotificationListener(javax.management.ObjectName name, javax.management.ObjectName listener, javax.management.NotificationFilter filter, java.lang.Object handback) throws javax.management.InstanceNotFoundException, javax.management.ListenerNotFoundException, java.io.IOException
removeNotificationListener
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
javax.management.ListenerNotFoundException
java.io.IOException
public void removeNotificationListener(javax.management.ObjectName name, javax.management.NotificationListener listener) throws javax.management.InstanceNotFoundException, javax.management.ListenerNotFoundException, java.io.IOException
removeNotificationListener
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
javax.management.ListenerNotFoundException
java.io.IOException
public void removeNotificationListener(javax.management.ObjectName name, javax.management.NotificationListener listener, javax.management.NotificationFilter filter, java.lang.Object handback) throws javax.management.InstanceNotFoundException, javax.management.ListenerNotFoundException, java.io.IOException
removeNotificationListener
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
javax.management.ListenerNotFoundException
java.io.IOException
public javax.management.ObjectInstance createMBean(java.lang.String className, javax.management.ObjectName name) throws javax.management.ReflectionException, javax.management.InstanceAlreadyExistsException, javax.management.MBeanRegistrationException, javax.management.MBeanException, javax.management.NotCompliantMBeanException, java.io.IOException
createMBean
in interface javax.management.MBeanServerConnection
javax.management.ReflectionException
javax.management.InstanceAlreadyExistsException
javax.management.MBeanRegistrationException
javax.management.MBeanException
javax.management.NotCompliantMBeanException
java.io.IOException
public javax.management.ObjectInstance createMBean(java.lang.String className, javax.management.ObjectName name, javax.management.ObjectName loaderName) throws javax.management.ReflectionException, javax.management.InstanceAlreadyExistsException, javax.management.MBeanRegistrationException, javax.management.MBeanException, javax.management.NotCompliantMBeanException, javax.management.InstanceNotFoundException, java.io.IOException
createMBean
in interface javax.management.MBeanServerConnection
javax.management.ReflectionException
javax.management.InstanceAlreadyExistsException
javax.management.MBeanRegistrationException
javax.management.MBeanException
javax.management.NotCompliantMBeanException
javax.management.InstanceNotFoundException
java.io.IOException
public javax.management.ObjectInstance createMBean(java.lang.String className, javax.management.ObjectName name, java.lang.Object[] params, java.lang.String[] signature) throws javax.management.ReflectionException, javax.management.InstanceAlreadyExistsException, javax.management.MBeanRegistrationException, javax.management.MBeanException, javax.management.NotCompliantMBeanException, java.io.IOException
createMBean
in interface javax.management.MBeanServerConnection
javax.management.ReflectionException
javax.management.InstanceAlreadyExistsException
javax.management.MBeanRegistrationException
javax.management.MBeanException
javax.management.NotCompliantMBeanException
java.io.IOException
public javax.management.ObjectInstance createMBean(java.lang.String className, javax.management.ObjectName name, javax.management.ObjectName loaderName, java.lang.Object[] params, java.lang.String[] signature) throws javax.management.ReflectionException, javax.management.InstanceAlreadyExistsException, javax.management.MBeanRegistrationException, javax.management.MBeanException, javax.management.NotCompliantMBeanException, javax.management.InstanceNotFoundException, java.io.IOException
createMBean
in interface javax.management.MBeanServerConnection
javax.management.ReflectionException
javax.management.InstanceAlreadyExistsException
javax.management.MBeanRegistrationException
javax.management.MBeanException
javax.management.NotCompliantMBeanException
javax.management.InstanceNotFoundException
java.io.IOException
public void unregisterMBean(javax.management.ObjectName name) throws javax.management.InstanceNotFoundException, javax.management.MBeanRegistrationException, java.io.IOException
unregisterMBean
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
javax.management.MBeanRegistrationException
java.io.IOException
public javax.management.ObjectInstance getObjectInstance(javax.management.ObjectName objectName) throws javax.management.InstanceNotFoundException, java.io.IOException
getObjectInstance
in interface javax.management.MBeanServerConnection
javax.management.InstanceNotFoundException
java.io.IOException
public java.util.Set queryMBeans(javax.management.ObjectName name, javax.management.QueryExp query) throws java.io.IOException
queryMBeans
in interface javax.management.MBeanServerConnection
java.io.IOException
public java.util.Set queryNames(javax.management.ObjectName name, javax.management.QueryExp query) throws java.io.IOException
queryNames
in interface javax.management.MBeanServerConnection
java.io.IOException
public boolean isRegistered(javax.management.ObjectName name) throws java.io.IOException
isRegistered
in interface javax.management.MBeanServerConnection
java.io.IOException
public java.lang.Integer getMBeanCount() throws java.io.IOException
getMBeanCount
in interface javax.management.MBeanServerConnection
java.io.IOException