|
||||||||||
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 | |
---|---|
String[] |
getAttribute(String domainServerName,
String objectName,
String attribute)
Returns the attribute value for an mbean on a server in the domain. |
String[] |
getAttributesList(String domainServerName,
String objectName)
Returns a list of attributes for a specified mbean on a server in the domain. |
String |
getDefaultDomain()
Returns the name of the current domain. |
String |
getDescription(String domainServerName,
String objectName)
Returns the description for an mbean on a server in the domain. |
Integer |
getMBeanCount(String domainServerName)
Returns the number of mbeans for a server in the domain. |
String[] |
getOperations(String domainServerName,
String objectName)
Returns the list of operations for an mbean on a server in the domain. |
String[] |
getServers()
Returns the server names in the domain. |
String[] |
invoke(String domainServerName,
String objectName,
String operationName,
String[] params)
Invokes an mbean operation having String params on a server in the domain. |
boolean |
isRegistered(String domainServerName,
String objectName)
Returns True if the mbean is registered with the server in the domain, false otherwise. |
String[] |
queryNames(String domainServerName,
String objectName,
String query)
Returns the search results for mbeans on a server in the domain. |
Method Detail |
---|
String getDefaultDomain() throws RemoteException
RemoteException
- If an error occurs communicating with the server.String[] getServers() throws ManagementEndpointException, RemoteException
RemoteException
- If an error occurs with the web service.
ManagementEndpointException
- If any error occurs with getServers.String[] getAttribute(String domainServerName, String objectName, String attribute) throws ManagementEndpointException, 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.
RemoteException
- If an error occurs with the web service.Integer getMBeanCount(String domainServerName) throws RemoteException
domainServerName
- The name of the server in the domain.
RemoteException
- If an error occurs communicating with the server.boolean isRegistered(String domainServerName, String objectName) throws ManagementEndpointException, RemoteException
domainServerName
- The name of the server in the domain.objectName
- The objectname of the mbean.
ManagementEndpointException
- If any error occurs with isRegistered.
RemoteException
- If an error occurs with the web service.String[] queryNames(String domainServerName, String objectName, String query) throws ManagementEndpointException, 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.
RemoteException
- If an error occurs with the web service.String[] getAttributesList(String domainServerName, String objectName) throws ManagementEndpointException, RemoteException
domainServerName
- The name of the server in the domain.objectName
- The objectname of the mbean.
ManagementEndpointException
- If any error occurs with getAttributesList.
RemoteException
- If an error occurs with the web service.String getDescription(String domainServerName, String objectName) throws ManagementEndpointException, RemoteException
domainServerName
- The name of the server in the domain.objectName
- The objectname of the mbean.
ManagementEndpointException
- If any error occurs with getDescription.
RemoteException
- If an error occurs with the web service.String[] getOperations(String domainServerName, String objectName) throws ManagementEndpointException, RemoteException
domainServerName
- The name of the server in the domain.objectName
- The objectname of the mbean.
ManagementEndpointException
- If any error occurs with getOperations.
RemoteException
- If an error occurs with the web service.String[] invoke(String domainServerName, String objectName, String operationName, String[] params) throws ManagementEndpointException, 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.
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 |