java.lang.Object | ||
↳ | org.springframework.ejb.support.AbstractEnterpriseBean | |
↳ | org.springframework.ejb.support.AbstractSessionBean |
Known Direct Subclasses |
Base class for Spring-based EJB 2.x session beans. Not intended for direct
subclassing: Extend AbstractStatelessSessionBean
or
AbstractStatefulSessionBean
instead.
This class saves the session context provided by the EJB container in an
instance variable and exposes it through the SmartSessionBean
interface.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.ejb.support.AbstractEnterpriseBean
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Convenience method for subclasses, returning the EJB session context
saved on initialization (
setSessionContext(SessionContext) ). | |||||||||||
Set the session context for this EJB.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.springframework.ejb.support.AbstractEnterpriseBean
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
javax.ejb.SessionBean
| |||||||||||
From interface
org.springframework.ejb.support.SmartSessionBean
|
Convenience method for subclasses, returning the EJB session context
saved on initialization (setSessionContext(SessionContext)
).
Set the session context for this EJB.
When overriding this method, be sure to invoke this form of it first.