| org.objectweb.jonas.mejb.ManagementEndpoint
All known Subclasses: org.objectweb.jonas.mejb.ManagementBean,
ManagementEndpoint | public interface ManagementEndpoint extends Remote(Code) | | This is the interface for a monitoring webservice used to remotely
monitor mbeans in the domain.
author: Matt Wringe author: Vivek Lakshmanan |
Method Summary | |
String[] | getAttribute(String domainServerName, String objectName, String attribute) Returns the attribute value for an mbean on a server in the domain.
Parameters: domainServerName - The name of the server in the domain. Parameters: objectName - The objectname of the mbean. Parameters: attribute - The attribute to be returned. | String[] | getAttributesList(String domainServerName, String objectName) Returns a list of attributes for a specified mbean on a server in the
domain.
Parameters: domainServerName - The name of the server in the domain. Parameters: objectName - The objectname of the mbean. | 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.
Parameters: domainServerName - The name of the server in the domain. Parameters: objectName - The objectname of the mbean. | Integer | getMBeanCount(String domainServerName) Returns the number of mbeans for a server in the domain.
Parameters: domainServerName - The name of the server in the domain. | String[] | getOperations(String domainServerName, String objectName) Returns the list of operations for an mbean on a server in the domain.
Parameters: domainServerName - The name of the server in the domain. Parameters: objectName - The objectname of the mbean. | 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.
Parameters: domainServerName - The name of the server in the domain. Parameters: objectName - The objectname of the mbean. | String[] | queryNames(String domainServerName, String objectName, String query) Returns the search results for mbeans on a server in the domain. |
getDefaultDomain | String getDefaultDomain() throws RemoteException(Code) | | Returns the name of the current domain.
The name of the domain. throws: RemoteException - If an error occurs communicating with the server. |
getMBeanCount | Integer getMBeanCount(String domainServerName) throws RemoteException(Code) | | Returns the number of mbeans for a server in the domain.
Parameters: domainServerName - The name of the server in the domain. The number of mbeans for the specified server. throws: RemoteException - If an error occurs communicating with the server. |
invoke | String[] invoke(String domainServerName, String objectName, String operationName, String[] params) throws ManagementEndpointException, RemoteException(Code) | | Invokes an mbean operation having String params on a server in the domain.
Parameters: domainServerName - The name of the server in the domain. Parameters: objectName - The objectname of the mbean. Parameters: operationName - operation name Parameters: params - String parameters The operation result throws: ManagementEndpointException - If any error occurs with getOperations. throws: RemoteException - If an error occurs with the web service. |
isRegistered | boolean isRegistered(String domainServerName, String objectName) throws ManagementEndpointException, RemoteException(Code) | | Returns True if the mbean is registered with the server in the domain,
false otherwise.
Parameters: domainServerName - The name of the server in the domain. Parameters: objectName - The objectname of the mbean. True if the mbean is registered, false if not. throws: ManagementEndpointException - If any error occurs with isRegistered. throws: RemoteException - If an error occurs with the web service. |
queryNames | String[] queryNames(String domainServerName, String objectName, String query) throws ManagementEndpointException, RemoteException(Code) | | Returns the search results for mbeans on a server in the domain. The query
parameter currently does nothing.
Parameters: domainServerName - The name of the server in the domain. Parameters: objectName - The objectname of the mbean. Parameters: query - Currently does nothing. The ObjectNames for the queried mbeans. throws: ManagementEndpointException - If any error occurs with queryNames. throws: RemoteException - If an error occurs with the web service. |
|
|