|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.management.mejb.ManagementBean
org.jboss.management.mejb.MEJBSession
Session layer for MEJB.
| Constructor Summary | |
MEJBSession()
|
|
| Method Summary | |
void |
ejbActivate()
The activate method is called when the instance is activated from its "passive" state. |
void |
ejbPassivate()
The passivate method is called before the instance enters the "passive" state. |
void |
ejbRemove()
A container invokes this method before it ends the life of the session object. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Set the associated session context. |
void |
unsetSessionContext()
|
| Methods inherited from class org.jboss.management.mejb.ManagementBean |
addNotificationListener, createMBean, ejbCreate, getAttribute, getAttributes, getDefaultDomain, getListenerRegistry, getMBeanCount, getMBeanInfo, invoke, isRegistered, queryNames, removeNotificationListener, setAttribute, setAttributes, toString, unregisterMBean |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public MEJBSession()
| Method Detail |
public void ejbActivate()
throws javax.ejb.EJBException
ManagementBeanThis method is called with no transaction context.
ejbActivate in interface javax.ejb.SessionBeanejbActivate in class ManagementBeanjavax.ejb.EJBException - Thrown by the method to indicate a failure caused
by a system-level error
public void ejbPassivate()
throws javax.ejb.EJBException
ManagementBeanAfter the passivate method completes, the instance must be in a state that allows the container to use the Java Serialization protocol to externalize and store away the instance's state.
This method is called with no transaction context.
ejbPassivate in interface javax.ejb.SessionBeanejbPassivate in class ManagementBeanjavax.ejb.EJBException - Thrown by the method to indicate a failure caused
by a system-level error
public void setSessionContext(javax.ejb.SessionContext ctx)
throws javax.ejb.EJBException
ManagementBeanThis method is called with no transaction context.
setSessionContext in interface javax.ejb.SessionBeansetSessionContext in class ManagementBeanctx - A SessionContext interface for the instance. The instance
should store the reference to the context in an instance variable.
javax.ejb.EJBException - Should something go wrong while seting the context,
an EJBException will be thrown.public void unsetSessionContext()
public void ejbRemove()
throws javax.ejb.EJBException
ManagementBeanThis method is called with no transaction context.
ejbRemove in interface javax.ejb.SessionBeanejbRemove in class ManagementBeanjavax.ejb.EJBException - Thrown by the method to indicate a failure caused
by a system-level error
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||