| java.lang.Object org.objectweb.jonas.mejb.ManagementBean
ManagementBean | public class ManagementBean implements SessionBean,ManagementEndpoint(Code) | | This is the Management EJB implementation for JOnAS.
A MEJB instance is created and deployed at JOnAS start time.
It is registered in the ejb/mgmt naming subcontext.
The current implementation allows access to managed resources registered in
the current (local) MBean server via the standard management methods defined in the
javax.management.j2ee.Management interface.
It also allows access to managed resources registered in remote MBean servers
which belong to the current management domain, via management methods exposed as a
WebService endpoint (defined in the ManagementEndpoint interface).
author: Adriana Danes author: Vivek Lakshmanan author: Matt Wringe |
Method Summary | |
public void | ejbActivate() | public void | ejbCreate() | public void | ejbPassivate() | public void | ejbRemove() | public Object | getAttribute(ObjectName name, String attribute) | public Object | getAttribute(String domainServerName, ObjectName name, String attribute) | public String[] | getAttribute(String domainServerName, String objectName, String attribute) | public AttributeList | getAttributes(ObjectName name, String[] attributes) | public AttributeList | getAttributes(String domainServerName, ObjectName name, String[] attributes) | public String[] | getAttributesList(String domainServerName, String objectName) | public String | getDefaultDomain() | public String | getDescription(String domainServerName, String objectName) | public ListenerRegistration | getListenerRegistry() Returns the ListenerRegistration implementation object which allows the client to register
a event notification listener. | public Integer | getMBeanCount() | public Integer | getMBeanCount(String domainServerName) | public MBeanInfo | getMBeanInfo(ObjectName name) | public MBeanInfo | getMBeanInfo(String domainServerName, ObjectName name) | public String[] | getOperations(String domainServerName, String objectName) | public String[] | getServers() Returns the names of the servers in the domain. | public Object | invoke(ObjectName name, String operationName, Object[] params, String[] signature) | public Object | invoke(String domainServerName, ObjectName name, String operationName, Object[] params, String[] signature) | public String[] | invoke(String domainServerName, String objectName, String operationName, String[] params) | public boolean | isRegistered(ObjectName name) | public boolean | isRegistered(String domainServerName, ObjectName name) | public boolean | isRegistered(String domainServerName, String objectName) | public Set | queryNames(ObjectName name, QueryExp query) | public Set | queryNames(String domainServerName, ObjectName name, QueryExp query) | public String[] | queryNames(String domainServerName, String objectName, String query) | public void | setAttribute(ObjectName name, Attribute attribute) | public void | setAttribute(String domainServerName, ObjectName name, Attribute attribute) | public AttributeList | setAttributes(ObjectName name, AttributeList attributes) | public AttributeList | setAttributes(String domainServerName, ObjectName name, AttributeList attributes) | public void | setSessionContext(SessionContext sessionContext) Sets the associated session context. |
ejbActivate | public void ejbActivate()(Code) | | |
ejbCreate | public void ejbCreate() throws CreateException(Code) | | ejbCreate method
Get the MBeanServer reference to allow local access
|
ejbPassivate | public void ejbPassivate()(Code) | | |
ejbRemove | public void ejbRemove()(Code) | | |
getListenerRegistry | public ListenerRegistration getListenerRegistry() throws RemoteException(Code) | | Returns the ListenerRegistration implementation object which allows the client to register
a event notification listener.
This method also creates a MBean
An instance of the class implementing the ListenerRegistration interface.null is returned if |
setSessionContext | public void setSessionContext(SessionContext sessionContext)(Code) | | Sets the associated session context.
Parameters: sessionContext - - A SessionContext interface for the instance. |
|
|