|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.jonas.mejb.ManagementBean
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 only allows access to managed resources from within the current server.
Constructor Summary | |
ManagementBean()
|
Method Summary | |
void |
ejbActivate()
|
void |
ejbCreate()
ejbCreate method |
void |
ejbPassivate()
|
void |
ejbRemove()
|
java.lang.Object |
getAttribute(javax.management.ObjectName name,
java.lang.String attribute)
|
javax.management.AttributeList |
getAttributes(javax.management.ObjectName name,
java.lang.String[] attributes)
|
java.lang.String |
getDefaultDomain()
|
javax.management.j2ee.ListenerRegistration |
getListenerRegistry()
Returns the ListenerRegistration implementation object which allows the client to register a event notification listener. |
java.lang.Integer |
getMBeanCount()
|
javax.management.MBeanInfo |
getMBeanInfo(javax.management.ObjectName name)
|
java.lang.Object |
invoke(javax.management.ObjectName name,
java.lang.String operationName,
java.lang.Object[] params,
java.lang.String[] signature)
|
boolean |
isRegistered(javax.management.ObjectName name)
|
java.util.Set |
queryNames(javax.management.ObjectName name,
javax.management.QueryExp query)
|
void |
setAttribute(javax.management.ObjectName name,
javax.management.Attribute attribute)
|
javax.management.AttributeList |
setAttributes(javax.management.ObjectName name,
javax.management.AttributeList attributes)
|
void |
setSessionContext(javax.ejb.SessionContext sessionContext)
Sets the associated session context. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ManagementBean()
Method Detail |
public void ejbCreate()
public void ejbActivate()
ejbActivate
in interface javax.ejb.SessionBean
public void ejbPassivate()
ejbPassivate
in interface javax.ejb.SessionBean
public void ejbRemove()
ejbRemove
in interface javax.ejb.SessionBean
public void setSessionContext(javax.ejb.SessionContext sessionContext)
setSessionContext
in interface javax.ejb.SessionBean
sessionContext
- - A SessionContext interface for the instance.public java.lang.Object getAttribute(javax.management.ObjectName name, java.lang.String attribute) throws javax.management.MBeanException, javax.management.AttributeNotFoundException, javax.management.InstanceNotFoundException, javax.management.ReflectionException, java.rmi.RemoteException
javax.management.MBeanException
javax.management.AttributeNotFoundException
javax.management.InstanceNotFoundException
javax.management.ReflectionException
java.rmi.RemoteException
public javax.management.AttributeList getAttributes(javax.management.ObjectName name, java.lang.String[] attributes) throws javax.management.InstanceNotFoundException, javax.management.ReflectionException, java.rmi.RemoteException
javax.management.InstanceNotFoundException
javax.management.ReflectionException
java.rmi.RemoteException
public java.lang.String getDefaultDomain() throws java.rmi.RemoteException
java.rmi.RemoteException
public java.lang.Integer getMBeanCount() throws java.rmi.RemoteException
java.rmi.RemoteException
public javax.management.MBeanInfo getMBeanInfo(javax.management.ObjectName name) throws javax.management.IntrospectionException, javax.management.InstanceNotFoundException, javax.management.ReflectionException, java.rmi.RemoteException
javax.management.IntrospectionException
javax.management.InstanceNotFoundException
javax.management.ReflectionException
java.rmi.RemoteException
public java.lang.Object invoke(javax.management.ObjectName name, java.lang.String operationName, java.lang.Object[] params, java.lang.String[] signature) throws javax.management.MBeanException, javax.management.InstanceNotFoundException, javax.management.ReflectionException, java.rmi.RemoteException
javax.management.MBeanException
javax.management.InstanceNotFoundException
javax.management.ReflectionException
java.rmi.RemoteException
public boolean isRegistered(javax.management.ObjectName name) throws java.rmi.RemoteException
java.rmi.RemoteException
public java.util.Set queryNames(javax.management.ObjectName name, javax.management.QueryExp query) throws java.rmi.RemoteException
java.rmi.RemoteException
public void setAttribute(javax.management.ObjectName name, javax.management.Attribute attribute) throws javax.management.MBeanException, javax.management.AttributeNotFoundException, javax.management.InstanceNotFoundException, javax.management.InvalidAttributeValueException, javax.management.ReflectionException, java.rmi.RemoteException
javax.management.MBeanException
javax.management.AttributeNotFoundException
javax.management.InstanceNotFoundException
javax.management.InvalidAttributeValueException
javax.management.ReflectionException
java.rmi.RemoteException
public javax.management.AttributeList setAttributes(javax.management.ObjectName name, javax.management.AttributeList attributes) throws javax.management.InstanceNotFoundException, javax.management.ReflectionException, java.rmi.RemoteException
javax.management.InstanceNotFoundException
javax.management.ReflectionException
java.rmi.RemoteException
public javax.management.j2ee.ListenerRegistration getListenerRegistry() throws java.rmi.RemoteException
null
is returned if
java.rmi.RemoteException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |