addNotificationListener
public Integer addNotificationListener(javax.management.ObjectName name,
Object filter,
Subject delegate)
throws javax.management.InstanceNotFoundException,
IOException
- addNotificationListener in interface HTTPConnection
addNotificationListener
public void addNotificationListener(javax.management.ObjectName name,
javax.management.ObjectName listener,
Object filter,
Object handback,
Subject delegate)
throws javax.management.InstanceNotFoundException,
IOException
- addNotificationListener in interface JMXConnection
connect
public String connect(Object credentials)
throws IOException,
SecurityException
This method is called when a call initiated by
javax.management.remote.JMXConnector.connect
arrives on server side. For HTTP connections, the socket is handled by the web container, but
the remote procedure call that arrives along with the HTTP request is parsed and then (normally)
forwarded to a JavaBean (that will implement this interface).
Implementations of this method will normally call
ConnectionManager.connect(Object)
.
- connect in interface HTTPConnection
credentials
- The credential for authentication
- The connection id for the newly created connection
createMBean
public javax.management.ObjectInstance createMBean(String className,
javax.management.ObjectName name,
Object params,
String[] signature,
Subject delegate)
throws javax.management.ReflectionException,
javax.management.InstanceAlreadyExistsException,
javax.management.MBeanRegistrationException,
javax.management.MBeanException,
javax.management.NotCompliantMBeanException,
IOException
- createMBean in interface JMXConnection
createMBean
public javax.management.ObjectInstance createMBean(String className,
javax.management.ObjectName name,
javax.management.ObjectName loaderName,
Object params,
String[] signature,
Subject delegate)
throws javax.management.ReflectionException,
javax.management.InstanceAlreadyExistsException,
javax.management.MBeanRegistrationException,
javax.management.MBeanException,
javax.management.NotCompliantMBeanException,
javax.management.InstanceNotFoundException,
IOException
- createMBean in interface JMXConnection
fetchNotifications
public javax.management.remote.NotificationResult fetchNotifications(long clientSequenceNumber,
int maxNotifications,
long timeout)
throws IOException
- fetchNotifications in interface HTTPConnection
getAttribute
public Object getAttribute(javax.management.ObjectName name,
String attribute,
Subject delegate)
throws javax.management.MBeanException,
javax.management.AttributeNotFoundException,
javax.management.InstanceNotFoundException,
javax.management.ReflectionException,
IOException
- getAttribute in interface JMXConnection
getAttributes
public javax.management.AttributeList getAttributes(javax.management.ObjectName name,
String[] attributes,
Subject delegate)
throws javax.management.InstanceNotFoundException,
javax.management.ReflectionException,
IOException
- getAttributes in interface JMXConnection
getConnectionId
public String getConnectionId()
throws IOException
getMBeanInfo
public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName name,
Subject delegate)
throws javax.management.InstanceNotFoundException,
javax.management.IntrospectionException,
javax.management.ReflectionException,
IOException
- getMBeanInfo in interface JMXConnection
getObjectInstance
public javax.management.ObjectInstance getObjectInstance(javax.management.ObjectName name,
Subject delegate)
throws javax.management.InstanceNotFoundException,
IOException
- getObjectInstance in interface JMXConnection
invoke
public Object invoke(javax.management.ObjectName name,
String operationName,
Object params,
String[] signature,
Subject delegate)
throws javax.management.InstanceNotFoundException,
javax.management.MBeanException,
javax.management.ReflectionException,
IOException
- invoke in interface JMXConnection
isInstanceOf
public boolean isInstanceOf(javax.management.ObjectName name,
String className,
Subject delegate)
throws javax.management.InstanceNotFoundException,
IOException
- isInstanceOf in interface JMXConnection
isRegistered
public boolean isRegistered(javax.management.ObjectName name,
Subject delegate)
throws IOException
- isRegistered in interface JMXConnection
queryMBeans
public Set queryMBeans(javax.management.ObjectName name,
Object query,
Subject delegate)
throws IOException
- queryMBeans in interface JMXConnection
queryNames
public Set queryNames(javax.management.ObjectName name,
Object query,
Subject delegate)
throws IOException
- queryNames in interface JMXConnection
removeNotificationListener
public void removeNotificationListener(javax.management.ObjectName name,
javax.management.ObjectName listener,
Object filter,
Object handback,
Subject delegate)
throws javax.management.InstanceNotFoundException,
javax.management.ListenerNotFoundException,
IOException
- removeNotificationListener in interface JMXConnection
removeNotificationListener
public void removeNotificationListener(javax.management.ObjectName name,
javax.management.ObjectName listener,
Subject delegate)
throws javax.management.InstanceNotFoundException,
javax.management.ListenerNotFoundException,
IOException
- removeNotificationListener in interface JMXConnection
removeNotificationListeners
public void removeNotificationListeners(javax.management.ObjectName name,
Integer[] listenerIDs,
Subject delegate)
throws javax.management.InstanceNotFoundException,
javax.management.ListenerNotFoundException,
IOException
- removeNotificationListeners in interface HTTPConnection
setAttribute
public void setAttribute(javax.management.ObjectName name,
Object attribute,
Subject delegate)
throws javax.management.InstanceNotFoundException,
javax.management.AttributeNotFoundException,
javax.management.InvalidAttributeValueException,
javax.management.MBeanException,
javax.management.ReflectionException,
IOException
- setAttribute in interface JMXConnection
setAttributes
public javax.management.AttributeList setAttributes(javax.management.ObjectName name,
Object attributes,
Subject delegate)
throws javax.management.InstanceNotFoundException,
javax.management.ReflectionException,
IOException
- setAttributes in interface JMXConnection
unregisterMBean
public void unregisterMBean(javax.management.ObjectName name,
Subject delegate)
throws javax.management.InstanceNotFoundException,
javax.management.MBeanRegistrationException,
IOException
- unregisterMBean in interface JMXConnection