BEA Systems, Inc.

theory.smart.foundation
Class SessionImpl

java.lang.Object
  |
  +--theory.smart.foundation.SessionImpl
Direct Known Subclasses:
CustomerManagerImpl, EBusinessSessionManagerImpl, GiftRegistryManagerImpl, InventoryManagerImpl, InvoiceManagerImpl, OrderManagerImpl, PostOfficeImpl, ShippingManagerImpl, ShoppingAdvisorImpl, TroubleTicketManagerImpl, UnitConverterImpl

public abstract class SessionImpl
extends java.lang.Object
implements javax.ejb.SessionBean

This is the base implementation of the Business Smart Component (BSC) Session interface. For each BSC Session derived interface, there will be a corresponding BSC SessionImpl with business methods that are mirrored. It also provides storage for an SessionContext and an implementation of the Set and Get Session Context methods.

See Also:
Session, Serialized Form

Field Summary
 javax.ejb.SessionContext ctx
           
 
Constructor Summary
SessionImpl()
           
 
Method Summary
 void ejbActivate()
           
 void ejbCreate()
           
 void ejbPassivate()
           
 void ejbPostCreate()
           
 void ejbRemove()
           
 javax.ejb.SessionContext getSessionContext()
          getEntityContext method.
 void setSessionContext(javax.ejb.SessionContext ctx)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ctx

public javax.ejb.SessionContext ctx
Constructor Detail

SessionImpl

public SessionImpl()
Method Detail

ejbActivate

public void ejbActivate()
                 throws java.rmi.RemoteException
Specified by:
ejbActivate in interface javax.ejb.SessionBean

ejbCreate

public void ejbCreate()
               throws javax.ejb.CreateException,
                      java.rmi.RemoteException

ejbPassivate

public void ejbPassivate()
                  throws java.rmi.RemoteException
Specified by:
ejbPassivate in interface javax.ejb.SessionBean

ejbPostCreate

public void ejbPostCreate()
                   throws javax.ejb.CreateException,
                          java.rmi.RemoteException

ejbRemove

public void ejbRemove()
               throws java.rmi.RemoteException
Specified by:
ejbRemove in interface javax.ejb.SessionBean

setSessionContext

public void setSessionContext(javax.ejb.SessionContext ctx)
                       throws java.rmi.RemoteException
Specified by:
setSessionContext in interface javax.ejb.SessionBean

getSessionContext

public javax.ejb.SessionContext getSessionContext()
                                           throws java.rmi.RemoteException
getEntityContext method.

BEA Systems, Inc.

Copyright © 2000 BEA Systems, Inc. All Rights Reserved