Name
SessionContext
Synopsis
The SessionContext
represents the runtime context information that the
EJB container provides to session beans. The context is given to the
bean after it is created, and it remains valid until the session bean
is removed.
public interface SessionContext extends EJBContext { // Public Instance Methods public abstract EJBLocalObject getEJBLocalObject( // 2.0 ) throws java.lang.IllegalStateException; public abstract EJBObject getEJBObject( ) throws java.lang.IllegalStateException; }
Passed To
SessionBean.setSessionContext()
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.