| org.objectweb.jonas.mejb.DomainManagement
DomainManagement | public interface DomainManagement extends Management(Code) | | This is a variation on the javax.management.j2ee.Management interface
required to be exposed by JOnAS through the MEJB session bean. This extends
the main functionality of the MEJB session bean by allowing clients to query
mbean information from other servers within the same domain.
Please Note: domainServerName in any of the exposed methods
can be set to one of the values of the array returned by the following call
to a master server:
getAttribute(null, domainObjectName, "serverNames")
where
ObjectName domainObjectName corresponds to the ObjectName:
domainName:j2eeType=J2EEDomain,name=domainName
author: Vivek Lakshmanan |
Method Summary | |
Object | getAttribute(String domainServerName, ObjectName name, String attribute) Gets the value of a specified attribute inside the mbean corresponding to
the objectname name for the server with name
domainServerName .
Parameters: domainServerName - Name of the server in domain. | AttributeList | getAttributes(String domainServerName, ObjectName name, String[] attributes) Gets the values of attributes in attributes inside the
mbean corresponding to the objectname name for the server
with name domainServerName .
Parameters: domainServerName - Name of the server in domain. | Integer | getMBeanCount(String domainServerName) The number of MBeans registered in the mbean server corresponding to the
server domainServerName in the domain.
Parameters: domainServerName - Name of the server in domain. | MBeanInfo | getMBeanInfo(String domainServerName, ObjectName name) Get information about a specific MBean with ObjectName name
registered on server domainServerName .
Parameters: domainServerName - Name of the server in domain. | Object | invoke(String domainServerName, ObjectName name, String operationName, Object[] params, String[] signature) Invoke an operation on an MBean with ObjectName name .
Parameters: domainServerName - Name of the server in domain. | boolean | isRegistered(String domainServerName, ObjectName name) Check if the MBean with ObjectName name is registered in
the server with the name domainServerName .
Parameters: domainServerName - Name of the server in domain. | Set | queryNames(String domainServerName, ObjectName name, QueryExp query) Query for ObjectNames on the server named domainServerName based
on a query string.
Parameters: domainServerName - Name of the server in domain. | void | setAttribute(String domainServerName, ObjectName name, Attribute attribute) Sets the value of a specified attribute inside the mbean corresponding to
the objectname name for the server with name
domainServerName .
Parameters: domainServerName - Name of the server in domain. | AttributeList | setAttributes(String domainServerName, ObjectName name, AttributeList attributes) Sets the values of attributes in attributes inside the
mbean corresponding to the objectname name for the server
with name domainServerName .
Parameters: domainServerName - Name of the server in domain. |
isRegistered | boolean isRegistered(String domainServerName, ObjectName name) throws RemoteException(Code) | | Check if the MBean with ObjectName name is registered in
the server with the name domainServerName .
Parameters: domainServerName - Name of the server in domain. Use null forreferring to this server. Parameters: name - ObjectName corresponding to the MBean to query. true if registered. throws: RemoteException - |
queryNames | Set queryNames(String domainServerName, ObjectName name, QueryExp query) throws RemoteException(Code) | | Query for ObjectNames on the server named domainServerName based
on a query string.
Parameters: domainServerName - Name of the server in domain. Use null forreferring to this server. Parameters: name - ObjectName corresponding to the query string. Parameters: query - Query expression to apply on ObjectName. MBeans matching the query. throws: RemoteException - |
|
|