|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ManagementEndpoint
This is the interface for a monitoring webservice used to remotely monitor mbeans in the domain.
Method Summary | |
---|---|
java.lang.String[] |
getAttribute(java.lang.String domainServerName,
java.lang.String objectName,
java.lang.String attribute)
Returns the attribute value for an mbean on a server in the domain. |
java.lang.String[] |
getAttributesList(java.lang.String domainServerName,
java.lang.String objectName)
Returns a list of attributes for a specified mbean on a server in the domain. |
java.lang.String |
getDefaultDomain()
Returns the name of the current domain. |
java.lang.String |
getDescription(java.lang.String domainServerName,
java.lang.String objectName)
Returns the description for an mbean on a server in the domain. |
java.lang.Integer |
getMBeanCount(java.lang.String domainServerName)
Returns the number of mbeans for a server in the domain. |
java.lang.String[] |
getOperations(java.lang.String domainServerName,
java.lang.String objectName)
Returns the list of operations for an mbean on a server in the domain. |
java.lang.String[] |
getServers()
Returns the server names in the domain. |
java.lang.String[] |
invoke(java.lang.String domainServerName,
java.lang.String objectName,
java.lang.String operationName,
java.lang.String[] params)
Invokes an mbean operation having String params on a server in the domain. |
boolean |
isRegistered(java.lang.String domainServerName,
java.lang.String objectName)
Returns True if the mbean is registered with the server in the domain, false otherwise. |
java.lang.String[] |
queryNames(java.lang.String domainServerName,
java.lang.String objectName,
java.lang.String query)
Returns the search results for mbeans on a server in the domain. |
Method Detail |
---|
java.lang.String getDefaultDomain() throws java.rmi.RemoteException
java.rmi.RemoteException
- If an error occurs communicating with the server.java.lang.String[] getServers() throws ManagementEndpointException, java.rmi.RemoteException
java.rmi.RemoteException
- If an error occurs with the web service.
ManagementEndpointException
- If any error occurs with getServers.java.lang.String[] getAttribute(java.lang.String domainServerName, java.lang.String objectName, java.lang.String attribute) throws ManagementEndpointException, java.rmi.RemoteException
domainServerName
- The name of the server in the domain.objectName
- The objectname of the mbean.attribute
- The attribute to be returned.
ManagementEndpointException
- If any error occurs with getAttribute.
java.rmi.RemoteException
- If an error occurs with the web service.java.lang.Integer getMBeanCount(java.lang.String domainServerName) throws java.rmi.RemoteException
domainServerName
- The name of the server in the domain.
java.rmi.RemoteException
- If an error occurs communicating with the server.boolean isRegistered(java.lang.String domainServerName, java.lang.String objectName) throws ManagementEndpointException, java.rmi.RemoteException
domainServerName
- The name of the server in the domain.objectName
- The objectname of the mbean.
ManagementEndpointException
- If any error occurs with isRegistered.
java.rmi.RemoteException
- If an error occurs with the web service.java.lang.String[] queryNames(java.lang.String domainServerName, java.lang.String objectName, java.lang.String query) throws ManagementEndpointException, java.rmi.RemoteException
domainServerName
- The name of the server in the domain.objectName
- The objectname of the mbean.query
- Currently does nothing.
ManagementEndpointException
- If any error occurs with queryNames.
java.rmi.RemoteException
- If an error occurs with the web service.java.lang.String[] getAttributesList(java.lang.String domainServerName, java.lang.String objectName) throws ManagementEndpointException, java.rmi.RemoteException
domainServerName
- The name of the server in the domain.objectName
- The objectname of the mbean.
ManagementEndpointException
- If any error occurs with getAttributesList.
java.rmi.RemoteException
- If an error occurs with the web service.java.lang.String getDescription(java.lang.String domainServerName, java.lang.String objectName) throws ManagementEndpointException, java.rmi.RemoteException
domainServerName
- The name of the server in the domain.objectName
- The objectname of the mbean.
ManagementEndpointException
- If any error occurs with getDescription.
java.rmi.RemoteException
- If an error occurs with the web service.java.lang.String[] getOperations(java.lang.String domainServerName, java.lang.String objectName) throws ManagementEndpointException, java.rmi.RemoteException
domainServerName
- The name of the server in the domain.objectName
- The objectname of the mbean.
ManagementEndpointException
- If any error occurs with getOperations.
java.rmi.RemoteException
- If an error occurs with the web service.java.lang.String[] invoke(java.lang.String domainServerName, java.lang.String objectName, java.lang.String operationName, java.lang.String[] params) throws ManagementEndpointException, java.rmi.RemoteException
domainServerName
- The name of the server in the domain.objectName
- The objectname of the mbean.operationName
- operation nameparams
- String parameters
ManagementEndpointException
- If any error occurs with getOperations.
java.rmi.RemoteException
- If an error occurs with the web service.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |