Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


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

Field Summary
protected  ApplicationModuleImpl mApplicationModule
           

 

Constructor Summary
SessionBeanImpl()
           

 

Method Summary
 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

 

Field Detail

mApplicationModule

protected transient ApplicationModuleImpl mApplicationModule
Constructor Detail

SessionBeanImpl

public SessionBeanImpl()
Method Detail

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.

Oracle9i Business Components for Java API Reference
Oracle9i Jdeveloper (9.0.4)
B10391-01


 

Copyright © 1997, 2003, Oracle. All rights reserved.