com.ibm.websphere.management

Interface AdminClient


  1. public interface AdminClient
The AdminClientImpl is a concrete Java class to provide the client side APIs to the remote AdminService. It delegates all the calls to the server side JMX connector through the local AdminServiceProxy. The implemented AdminServiceProxy uses a specific transport to communication the JMX connector. The currently supported transports include SOAP and RMI.

Most of APIs here are mapped from those defined in JMX MBeanServer interface, but not all MBeanServer APIs are contained in the AdminClientImpl.

The methods mapped from the javax.management.MBeanServer include

In a single-sever environment, the behavior for these methods is exactly the same as that defined in JMX specification because there is only one MBeanServer involved. However, in a multi-node enrivonment, it's very important to beware the existence of MBean request routing. Most methods which take the complete javax.management.ObjectName as a paramemter may be routed to the downstream process if the AdminClientImpl connects to the managing process such as the cell manager and node agent. The methods which take no parameters are only applicable to the local MBeanServer; for example, if the getMBeanCount method is called when connected to the cell manager, it will return only the MBean count for the cellmgr MBeanServer, not the MBean count for the whole cell.

Routing is always in a top-down fashion; that is, from the cellmgr to the node agent to the managed process. The routing decision is based on the "node" and "process" properties in the ObjectName; the cellmgr routes requests to the downstream node agents based on the "node" property, while each node agent routes to the processes sitting in that node based on the "process" property. If the corresponding routing property is not present (for example, no "node" property when the cellmgr is determining where to route the method), the method will be executed locally.

Note that queryNames is a little special: it accepts an ObjectName which may contain wildcard characters (known as an ObjectName pattern). If a pattern is used and the corresponding routing property is not found, the query will go across all downstream nodes. For example, if the ObjectName "*:node=DefaultNode,*" is used while connected to the cellmgr, the query will go across all managed processes which are in the DefaultNode. A special case of this is queryNames(null, null), which will allow the query to run on all downstream processes (the same as the pattern "*:*"). Note that if an ObjectName pattern is not given, the query will not be routed if the routing properties are not present, like other methods.

For the JMX event support, AdminClientImpl supports the distributed event notification which is not specified in the current JMX specification. The semantics here is slightly different from that from the JMX MBeanServer. For details, look at the javadoc for LocalEventNotifier .

In case that a call to the AdminClientImpl can not reach the server, a ConnectorNotAvailabeException is thrown and the AdminClientImpl is marked as "down". If the server is back online later on, the reconnect method can be called to bring the AdminClientImpl back "up".

Enable security in the base server.

For SOAP based AdminClient, the users need to specifiy the "username" and "password" and explicitly set "securityEnabled" as "true". Some other properties may also be required in order to make a SSL connection, these properties can be either specified as a Java system properties or passed as paramemters when invoking AdminClientFactory.createAdminClient(Properties). These properties include

An exmample to make a secure SOAP based AdminClient:


            Properties props = new Properties();
           props.setProperty(AdminClient.CONNECTOR_HOST, "localhost");
           props.setProperty(AdminClient.CONNECTOR_PORT, "8880");
           props.setProperty(AdminClient.CONNECTOR_TYPE, AdminClient.CONNECTOR_TYPE_SOAP);
           props.setProperty(AdminClient.CONNECTOR_SECURITY_ENABLED, "true");
           props.setProperty(AdminClient.USERNAME, "test2");
           props.setProperty(AdminClient.PASSWORD, "user24test");
           props.setProperty(AdminClient.CACHE_DISABLED, "false");
      props.setProperty("javax.net.ssl.trustStore", "C:/WebSphere/AppServer/etc/DummyClientTrustFile.jks");
                props.setProperty("javax.net.ssl.keyStore", "C:/WebSphere/AppServer/etc/DummyClientKeyFile.jks");
                props.setProperty("javax.net.ssl.trustStorePassword", "WebAS");
                props.setProperty("javax.net.ssl.keyStorePassword", "WebAS");
           AdminClient client = AdminClientFactory.createAdminClient(props);

 

To make a secure RMI based AdminClient is a little easier because you can rely on existing "com.ibm.CORBA.ConfigURL" which normal points to a property file, for instance, $WAS_ROOT/properties/sas.client.properites. There are a couple different ways to specify the login username and password and it's determined by "com.ibm.CORBA.loginSource" in "com.ibm.CORBA.ConfigURL". For programmatic login, you can set "com.ibm.CORBA.loginSource" as "none" and then provide your username/password when you create a AdminClient using AdminClientFactory.

For example,

      Properties props = new Properties();
      props.setProperty(AdminClient.CONNECTOR_HOST, "localhost");
      props.setProperty(AdminClient.CONNECTOR_PORT, "2809");
      props.setProperty(AdminClient.CONNECTOR_TYPE, AdminClient.CONNECTOR_TYPE_RMI);
      props.setProperty(AdminClient.CONNECTOR_SECURITY_ENABLED, "true");
      props.setProperty(AdminClient.USERNAME, "test");
      props.setProperty(AdminClient.PASSWORD, "user4test");
      AdminClient client = AdminClientFactory.createAdminClient(props);

 

Field Summary

Modifier and Type Field and Description
  1. static
  2. java.lang.String
AUTH_TARGET
  1. static
  2. java.lang.String
CACHE_DISABLED
To indicate that caching is enabled
  1. static
  2. java.lang.String
CONNECTOR_AUTO_ACCEPT_SIGNER
To indicate if the connection will be established while trusting the server signer.
  1. static
  2. java.lang.String
CONNECTOR_HOST
The name of the property which defines the host name with which the connector is communicating.
  1. static
  2. java.lang.String
CONNECTOR_IPC_CONFIG
The property name for IPC ConfigURL whose value should be a soap client props file.
  1. static
  2. java.lang.String
CONNECTOR_IPC_REQUEST_TIMEOUT
The property name whose value should be the timeout for a IPC request.
  1. static
  2. java.lang.String
CONNECTOR_PORT
The name of the property which defines the port number with which the connector is communicating.
  1. static
  2. java.lang.String
CONNECTOR_SECURITY_ENABLED
To indicate the SOAP connector with SSL enabled.
  1. static
  2. java.lang.String
CONNECTOR_SOAP_CONFIG
The property name for SOAP ConfigURL whose value should be a soap client props file.
  1. static
  2. java.lang.String
CONNECTOR_SOAP_REQUEST_TIMEOUT
The property name whose value should be the timeout for a SOAP request.
  1. static
  2. java.lang.String
CONNECTOR_TYPE
The name of the property which defines the type of the connector.
  1. static
  2. java.lang.String
CONNECTOR_TYPE_IPC
The connector type which communicates via IPC.
  1. static
  2. java.lang.String
CONNECTOR_TYPE_JMS
The connector type which communicates via JMS.
  1. static
  2. java.lang.String
CONNECTOR_TYPE_JSR160RMI
The connector type which communicates via RMI for JSR160 support.
  1. static
  2. java.lang.String
CONNECTOR_TYPE_RMI
The connector type which communicates via RMI.
  1. static
  2. java.lang.String
CONNECTOR_TYPE_SOAP
The connector type which communicates via SOAP.
  1. static
  2. java.lang.String[]
CONNECTOR_TYPES
A list of all the valid connector types.
  1. static
  2. java.lang.String
KRB5_CCACHE
  1. static
  2. java.lang.String
KRB5_CONFIG
  1. static
  2. java.lang.String
KRB5_REFRESHING_TICKET
  1. static
  2. java.lang.String
KRB5_SERVICE
  1. static
  2. java.lang.String
LOGINSOURCE
The username and password when security is enabled
  1. static
  2. java.lang.String
PASSWORD
  1. static
  2. java.lang.String
PROTOCOL_ADAPTOR_TYPE_SNMP
The protocol adaptor type which communicates via SNMP.
  1. static
  2. java.lang.String
USE_V5_STATISTICS
Set this System property to "true" to force the AdminClient to wrap objects which implement the new javax.management.j2ee.statistics interface with adapters which implement the old com.ibm.websphere.management.statistics interface.
  1. static
  2. java.lang.String
USERNAME

Method Summary

Modifier and Type Method and Description
  1. void
addNotificationListener(javax.management.ObjectName name,javax.management.NotificationListener listener,javax.management.NotificationFilter filter,java.lang.Object handback)
Adds a listener to exactly one MBean.
  1. void
addNotificationListener(javax.management.ObjectName name,javax.management.ObjectName listener,javax.management.NotificationFilter filter,java.lang.Object handback)
  1. void
addNotificationListenerExtended(javax.management.ObjectName name,javax.management.NotificationListener listener,javax.management.NotificationFilter filter,java.lang.Object handback)
Adds a listener to multiple MBeans.
  1. java.lang.Object
getAttribute(javax.management.ObjectName name,java.lang.String attribute)
  1. javax.management.AttributeList
getAttributes(javax.management.ObjectName name,java.lang.String[] attributes)
  1. java.lang.ClassLoader
getClassLoader(javax.management.ObjectName name)
  1. java.lang.ClassLoader
getClassLoaderFor(javax.management.ObjectName name)
  1. java.util.Properties
getConnectorProperties()
Return a list of properties which describe the connector.
  1. java.lang.String
getDefaultDomain()
  1. java.lang.String
getDomainName()
  1. java.lang.Integer
getMBeanCount()
  1. javax.management.MBeanInfo
getMBeanInfo(javax.management.ObjectName name)
  1. javax.management.ObjectInstance
getObjectInstance(javax.management.ObjectName objectName)
  1. javax.management.ObjectName
getServerMBean()
Obtain the ObjectName for the MBean representing the server which this client connects to
  1. java.lang.String
getType()
Returns the type of connector being used by this AdminClient.
  1. java.lang.Object
invoke(javax.management.ObjectName name,java.lang.String operationName,java.lang.Object[] params,java.lang.String[] signature)
  1. Session
isAlive()
  1. Session
isAlive(int timeout)
  1. boolean
isInstanceOf(javax.management.ObjectName name,java.lang.String className)
  1. boolean
isRegistered(javax.management.ObjectName name)
  1. java.util.Set
queryMBeans(javax.management.ObjectName name,javax.management.QueryExp query)
  1. java.util.Set
queryNames(javax.management.ObjectName name,javax.management.QueryExp query)
  1. void
removeNotificationListener(javax.management.ObjectName name,javax.management.NotificationListener listener)
Removes a listener from exactly one MBean.
  1. void
removeNotificationListener(javax.management.ObjectName name,javax.management.ObjectName listener)
  1. void
removeNotificationListener(javax.management.ObjectName name,javax.management.ObjectName listener,javax.management.NotificationFilter filter,java.lang.Object handback)
  1. void
removeNotificationListenerExtended(javax.management.NotificationListener listener)
  1. void
removeNotificationListenerExtended(javax.management.ObjectName name,javax.management.NotificationListener listener)
Removes a listener from multiple MBeans.
  1. void
setAttribute(javax.management.ObjectName name,javax.management.Attribute attribute)
  1. javax.management.AttributeList
setAttributes(javax.management.ObjectName name,javax.management.AttributeList attributes)

Field Detail

CONNECTOR_TYPE

  1. static final java.lang.String CONNECTOR_TYPE
The name of the property which defines the type of the connector. Valid values are defined as CONNECTOR_TYPE_* static final Strings.
See Also:

CONNECTOR_HOST

  1. static final java.lang.String CONNECTOR_HOST
The name of the property which defines the host name with which the connector is communicating.
See Also:

CONNECTOR_PORT

  1. static final java.lang.String CONNECTOR_PORT
The name of the property which defines the port number with which the connector is communicating.
See Also:

CONNECTOR_TYPE_SOAP

  1. static final java.lang.String CONNECTOR_TYPE_SOAP
The connector type which communicates via SOAP.
See Also:

CONNECTOR_TYPE_RMI

  1. static final java.lang.String CONNECTOR_TYPE_RMI
The connector type which communicates via RMI.
See Also:

CONNECTOR_TYPE_JSR160RMI

  1. static final java.lang.String CONNECTOR_TYPE_JSR160RMI
The connector type which communicates via RMI for JSR160 support.
See Also:

CONNECTOR_TYPE_IPC

  1. static final java.lang.String CONNECTOR_TYPE_IPC
The connector type which communicates via IPC.
See Also:

CONNECTOR_TYPE_JMS

  1. static final java.lang.String CONNECTOR_TYPE_JMS
The connector type which communicates via JMS.
See Also:

PROTOCOL_ADAPTOR_TYPE_SNMP

  1. static final java.lang.String PROTOCOL_ADAPTOR_TYPE_SNMP
The protocol adaptor type which communicates via SNMP.
See Also:

CONNECTOR_TYPES

  1. static final java.lang.String[] CONNECTOR_TYPES
A list of all the valid connector types.

CONNECTOR_SOAP_CONFIG

  1. static final java.lang.String CONNECTOR_SOAP_CONFIG
The property name for SOAP ConfigURL whose value should be a soap client props file. In general, "com.ibm.SOAP.ConfigURL" can either specified as a system property or passed as part of paremeters while making a AdminClientFactory.createAdminClient(java.util.Properties) call.
See Also:

CONNECTOR_SOAP_REQUEST_TIMEOUT

  1. static final java.lang.String CONNECTOR_SOAP_REQUEST_TIMEOUT
The property name whose value should be the timeout for a SOAP request. The default value is 180 seconds.
See Also:

CONNECTOR_IPC_CONFIG

  1. static final java.lang.String CONNECTOR_IPC_CONFIG
The property name for IPC ConfigURL whose value should be a soap client props file. In general, "com.ibm.IPC.ConfigURL" can either specified as a system property or passed as part of paremeters while making a AdminClientFactory.createAdminClient(java.util.Properties) call.
See Also:

CONNECTOR_IPC_REQUEST_TIMEOUT

  1. static final java.lang.String CONNECTOR_IPC_REQUEST_TIMEOUT
The property name whose value should be the timeout for a IPC request. The default value is 180 seconds.
See Also:

CONNECTOR_SECURITY_ENABLED

  1. static final java.lang.String CONNECTOR_SECURITY_ENABLED
To indicate the SOAP connector with SSL enabled.

With SSL enabled, there are additional properties such as "javax.net.ssl.trustStore", "javax.net.ssl.keyStore". If the trustStore or keyStore is password protected, then "javax.net.ssl.trustStorePassword" or "javax.net.ssl.keyStorePassword" should be specified. These properties can either be specified as system properties using java -D options or passed when calling the AdminClientFactory to create the SOAP AdminClient.

See Also:

LOGINSOURCE

  1. static final java.lang.String LOGINSOURCE
The username and password when security is enabled
See Also:

USERNAME

  1. static final java.lang.String USERNAME
See Also:

PASSWORD

  1. static final java.lang.String PASSWORD
See Also:

AUTH_TARGET

  1. static final java.lang.String AUTH_TARGET
See Also:

KRB5_CCACHE

  1. static final java.lang.String KRB5_CCACHE
See Also:

KRB5_CONFIG

  1. static final java.lang.String KRB5_CONFIG
See Also:

KRB5_SERVICE

  1. static final java.lang.String KRB5_SERVICE
See Also:

KRB5_REFRESHING_TICKET

  1. static final java.lang.String KRB5_REFRESHING_TICKET
See Also:

CACHE_DISABLED

  1. static final java.lang.String CACHE_DISABLED
To indicate that caching is enabled
See Also:

CONNECTOR_AUTO_ACCEPT_SIGNER

  1. static final java.lang.String CONNECTOR_AUTO_ACCEPT_SIGNER
To indicate if the connection will be established while trusting the server signer. Note - Signer will not be added to TrustStore.
See Also:

USE_V5_STATISTICS

  1. static final java.lang.String USE_V5_STATISTICS
Set this System property to "true" to force the AdminClient to wrap objects which implement the new javax.management.j2ee.statistics interface with adapters which implement the old com.ibm.websphere.management.statistics interface.
See Also:

Method Detail

getType

  1. java.lang.String getType()
Returns the type of connector being used by this AdminClient. Valid types are defined by CONNECTOR_TYPE_* static final Strings.

getConnectorProperties

  1. java.util.Properties getConnectorProperties( )
Return a list of properties which describe the connector.

getServerMBean

  1. javax.management.ObjectName getServerMBean( )
  2. throws ConnectorException
Obtain the ObjectName for the MBean representing the server which this client connects to
Throws:

isAlive

  1. Session isAlive()
  2. throws ConnectorException
Throws:

isAlive

  1. Session isAlive(int timeout)
  2. throws ConnectorException
Throws:

queryNames

  1. java.util.Set queryNames(javax.management.ObjectName name,
  2. javax.management.QueryExp query)
  3. throws ConnectorException
Throws:

getMBeanCount

  1. java.lang.Integer getMBeanCount( )
  2. throws ConnectorException
Throws:

getDomainName

  1. java.lang.String getDomainName( )
  2. throws ConnectorException
Throws:

getDefaultDomain

  1. java.lang.String getDefaultDomain( )
  2. throws ConnectorException
Throws:

getMBeanInfo

  1. javax.management.MBeanInfo getMBeanInfo( javax.management.ObjectName name)
  2. throws javax.management.InstanceNotFoundException
  3. javax.management.IntrospectionException
  4. javax.management.ReflectionException
  5. ConnectorException
Throws:
javax.management.InstanceNotFoundException
javax.management.IntrospectionException
javax.management.ReflectionException

isInstanceOf

  1. boolean isInstanceOf(javax.management.ObjectName name,
  2. java.lang.String className)
  3. throws javax.management.InstanceNotFoundException
  4. ConnectorException
Throws:
javax.management.InstanceNotFoundException

isRegistered

  1. boolean isRegistered(javax.management.ObjectName name)
  2. throws ConnectorException
Throws:

getAttribute

  1. java.lang.Object getAttribute(javax.management.ObjectName name,
  2. java.lang.String attribute)
  3. throws javax.management.MBeanException
  4. javax.management.AttributeNotFoundException
  5. javax.management.InstanceNotFoundException
  6. javax.management.ReflectionException
  7. ConnectorException
Throws:
javax.management.MBeanException
javax.management.AttributeNotFoundException
javax.management.InstanceNotFoundException
javax.management.ReflectionException

getAttributes

  1. javax.management.AttributeList getAttributes( javax.management.ObjectName name,
  2. java.lang.String[] attributes)
  3. throws javax.management.InstanceNotFoundException
  4. javax.management.ReflectionException
  5. ConnectorException
Throws:
javax.management.InstanceNotFoundException
javax.management.ReflectionException

setAttribute

  1. void setAttribute(javax.management.ObjectName name,
  2. javax.management.Attribute attribute)
  3. throws javax.management.InstanceNotFoundException
  4. javax.management.AttributeNotFoundException
  5. javax.management.InvalidAttributeValueException
  6. javax.management.MBeanException
  7. javax.management.ReflectionException
  8. ConnectorException
Throws:
javax.management.InstanceNotFoundException
javax.management.AttributeNotFoundException
javax.management.InvalidAttributeValueException
javax.management.MBeanException
javax.management.ReflectionException

setAttributes

  1. javax.management.AttributeList setAttributes( javax.management.ObjectName name,
  2. javax.management.AttributeList attributes)
  3. throws javax.management.InstanceNotFoundException
  4. javax.management.ReflectionException
  5. ConnectorException
Throws:
javax.management.InstanceNotFoundException
javax.management.ReflectionException

invoke

  1. java.lang.Object invoke(javax.management.ObjectName name,
  2. java.lang.String operationName,
  3. java.lang.Object[] params,
  4. java.lang.String[] signature)
  5. throws javax.management.InstanceNotFoundException
  6. javax.management.MBeanException
  7. javax.management.ReflectionException
  8. ConnectorException
Throws:
javax.management.InstanceNotFoundException
javax.management.MBeanException
javax.management.ReflectionException

addNotificationListener

  1. void addNotificationListener(javax.management.ObjectName name,
  2. javax.management.NotificationListener listener,
  3. javax.management.NotificationFilter filter,
  4. java.lang.Object handback)
  5. throws javax.management.InstanceNotFoundException
  6. ConnectorException
Adds a listener to exactly one MBean. Behaves identically to the JMX MBeanServer.addNotificationListener, except that it works in a distributed environment. This means that MBeans which are not located on this specific process may have listeners added to it assuming routing information is correct.
Parameters:
name - the name of the MBean on which the listener should be added.
listener - the listener object which will handle the notifications emitted by the registered MBean
filter - the filter object; if filter is null, no filtering will be performed before handling notifications
handback - the context to be sent to the listener when a notification is emitted
Throws:
javax.management.InstanceNotFoundException - the MBean name provided does not match any of the registered MBeans.
ConnectorException - a communication problem occured adding the listener

addNotificationListenerExtended

  1. void addNotificationListenerExtended( javax.management.ObjectName name,
  2. javax.management.NotificationListener listener,
  3. javax.management.NotificationFilter filter,
  4. java.lang.Object handback)
  5. throws ConnectorException
Adds a listener to multiple MBeans. Behaves similarly to the addNotificationListener(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object) method, except for the following:
  • The name parameter may include wildcards, and pattern matching is performed as in the queryMBeans method; null is not allowed
  • Listeners added with this method will receive notifications by MBeans registered in the future; i.e. the MBean does not need to be active currently to listen to it.
  • An InstanceNotFoundException is never thrown.
Parameters:
name - a pattern matching zero or more MBeans; notifications from all these MBeans will be routed to the listener
listener - the listener object which will handle the notifications emitted by the registered MBean
filter - the filter object; if filter is null, no filtering will be performed before handling notifications
handback - the context to be sent to the listener when a notification is emitted
Throws:
ConnectorException - a communication problem occured adding the listener

removeNotificationListener

  1. void removeNotificationListener( javax.management.ObjectName name,
  2. javax.management.NotificationListener listener)
  3. throws javax.management.InstanceNotFoundException
  4. javax.management.ListenerNotFoundException
  5. ConnectorException
Removes a listener from exactly one MBean. Behaves identically to the JMX MBeanServer.removeNotificationListener, except that it works in a distributed environment. This means that MBeans which are not located on this specific process may have listeners added to it assuming routing information is correct.

This method should not be used to remove listeners added with addNotificationListenerExtended(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object); use removeNotificationListenerExtended(ObjectName,NotificationListener) instead.

Parameters:
name - the name of the MBean on which the listener should be removed
listener - the listener object which will handle the notifications emitted by the registered MBean
Throws:
javax.management.InstanceNotFoundException - the MBean name provided does not match any of the registered MBeans
javax.management.ListenerNotFoundException - the listener is not registered in the MBean
ConnectorException - a communication problem occured adding the listener

removeNotificationListenerExtended

  1. void removeNotificationListenerExtended( javax.management.NotificationListener listener)
  2. throws javax.management.ListenerNotFoundException
  3. ConnectorException
Removes a listener from multiple MBeans. This should be used to remove listeners which were added with addNotificationListenerExtended(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object). Behaves similarly to the removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener) method, except for the following:
  • All instances of the given listener are removed, even if it is added to multiple MBeans.
  • An InstanceNotFoundException is never thrown.
Parameters:
listener - the listener object which will handle the notifications emitted by the registered MBean
Throws:
javax.management.ListenerNotFoundException - the listener is not registered in the MBean
ConnectorException - a communication problem occured adding the listener

removeNotificationListenerExtended

  1. void removeNotificationListenerExtended( javax.management.ObjectName name,
  2. javax.management.NotificationListener listener)
  3. throws javax.management.ListenerNotFoundException
  4. ConnectorException
Removes a listener from multiple MBeans. This should be used to remove listeners which were added with addNotificationListenerExtended(javax.management.ObjectName, javax.management.NotificationListener, javax.management.NotificationFilter, java.lang.Object). Behaves similarly to the removeNotificationListener(javax.management.ObjectName, javax.management.NotificationListener) method, except for the following:
  • An InstanceNotFoundException is never thrown.
Parameters:
name - the name of the MBean on which the listener should be removed; this must be the same name as that given during addNotificationListenerExtended (cannot remove listener from subset of MBeans)
listener - the listener object which will handle the notifications emitted by the registered MBean
Throws:
javax.management.ListenerNotFoundException - the listener is not registered in the MBean
ConnectorException - a communication problem occured adding the listener

getClassLoaderFor

  1. java.lang.ClassLoader getClassLoaderFor( javax.management.ObjectName name)
  2. throws ConnectorException
  3. javax.management.InstanceNotFoundException
Throws:
javax.management.InstanceNotFoundException

getClassLoader

  1. java.lang.ClassLoader getClassLoader( javax.management.ObjectName name)
  2. throws ConnectorException
  3. javax.management.InstanceNotFoundException
Throws:
javax.management.InstanceNotFoundException

queryMBeans

  1. java.util.Set queryMBeans(javax.management.ObjectName name,
  2. javax.management.QueryExp query)
  3. throws ConnectorException
Throws:

getObjectInstance

  1. javax.management.ObjectInstance getObjectInstance( javax.management.ObjectName objectName)
  2. throws ConnectorException
  3. javax.management.InstanceNotFoundException
Throws:
javax.management.InstanceNotFoundException

addNotificationListener

  1. void addNotificationListener(javax.management.ObjectName name,
  2. javax.management.ObjectName listener,
  3. javax.management.NotificationFilter filter,
  4. java.lang.Object handback)
  5. throws ConnectorException
  6. javax.management.InstanceNotFoundException
Throws:
javax.management.InstanceNotFoundException

removeNotificationListener

  1. void removeNotificationListener( javax.management.ObjectName name,
  2. javax.management.ObjectName listener)
  3. throws ConnectorException
  4. javax.management.InstanceNotFoundException
  5. javax.management.ListenerNotFoundException
Throws:
javax.management.InstanceNotFoundException
javax.management.ListenerNotFoundException

removeNotificationListener

  1. void removeNotificationListener( javax.management.ObjectName name,
  2. javax.management.ObjectName listener,
  3. javax.management.NotificationFilter filter,
  4. java.lang.Object handback)
  5. throws ConnectorException
  6. javax.management.InstanceNotFoundException
  7. javax.management.ListenerNotFoundException
Throws:
javax.management.InstanceNotFoundException
javax.management.ListenerNotFoundException