oracle.jbo.server.ejb
Class SessionBeanImpl
java.lang.Object
|
+--oracle.jbo.server.ejb.SessionBeanImpl
- All Implemented Interfaces:
- javax.ejb.EnterpriseBean, java.io.Serializable, javax.ejb.SessionBean
- Direct Known Subclasses:
- LocalApplicationModuleImpl, ServiceBean
- public abstract class SessionBeanImpl
- extends java.lang.Object
- implements javax.ejb.SessionBean
BaseClass for Session Bean implementation.
Aggregates an application module for exposing any business logic as a session bean.
- See Also:
- Serialized Form
Type | Method |
void |
ejbActivate()
Null implementation of SessionBean interface. |
void |
ejbPassivate()
Null implementation of SessionBean interface. |
void |
ejbRemove()
Implementation of SessionBean.ejbRemove(). |
protected ApplicationModule |
getApplicationModule()
Returns the appmodule instance created by createApplicationModule() method |
protected javax.ejb.SessionContext |
getSessionContext()
Returns the SessionContext set by setSessionContext() |
protected void |
removeApplicationModule()
Convenience method for removing the aggregated application module instance. |
void |
setSessionContext(javax.ejb.SessionContext ctx)
Implementation of SessionBean interface. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mApplicationModule
protected transient ApplicationModuleImpl mApplicationModule
SessionBeanImpl
public SessionBeanImpl()
ejbActivate
public void ejbActivate()
- Null implementation of SessionBean interface.
- Specified by:
ejbActivate
in interface javax.ejb.SessionBean
ejbPassivate
public void ejbPassivate()
- Null implementation of SessionBean interface.
- Specified by:
ejbPassivate
in interface javax.ejb.SessionBean
setSessionContext
public void setSessionContext(javax.ejb.SessionContext ctx)
- Implementation of SessionBean interface.
- Specified by:
setSessionContext
in interface javax.ejb.SessionBean
ejbRemove
public void ejbRemove()
- Implementation of SessionBean.ejbRemove().
Calls
removeApplicationModule
to remove application module
- Specified by:
ejbRemove
in interface javax.ejb.SessionBean
getSessionContext
protected javax.ejb.SessionContext getSessionContext()
- Returns the SessionContext set by setSessionContext()
getApplicationModule
protected ApplicationModule getApplicationModule()
- Returns the appmodule instance created by createApplicationModule() method
- Returns:
- The aggregated appmodule reference
removeApplicationModule
protected void removeApplicationModule()
- Convenience method for removing the aggregated application module instance.