org.springframework.ejb.support
Class AbstractSessionBean
org.springframework.ejb.support.AbstractEnterpriseBean
|
+--org.springframework.ejb.support.AbstractSessionBean
- Direct Known Subclasses:
- AbstractStatefulSessionBean, AbstractStatelessSessionBean
- abstract class AbstractSessionBean
- extends AbstractEnterpriseBean
- implements SessionBean
Superclass for all session beans, not intended for direct client subclassing.
This class saves the session context provided by the EJB container in an instance
variable and provides a NOP implementation of the ejbRemove() lifecycle method.
- Author:
- Rod Johnson
- Version: $Id: AbstractSessionBean.java,v 1.2 2003/11/14 20:16:07 colins Exp $
| Method Summary |
void | setSessionContext(SessionContext sessionContext) Sets the session context. |
setSessionContext
public void setSessionContext(SessionContext sessionContext)
- Sets the session context.
If overriding this method, be sure to invoke this form of it first.
- Parameters:
- sessionContext - SessionContext context for session
to Class javax.ejb.SessionContext- the SessionContext passed to this object