| |
|
| java.lang.Object org.objectweb.jonas_ejb.container.JContext org.objectweb.jonas_ejb.container.JSessionContext
All known Subclasses: org.objectweb.jonas_ejb.container.JStatefulContext, org.objectweb.jonas_ejb.container.JStatelessContext,
JSessionContext | abstract public class JSessionContext extends JContext implements SessionContext,Serializable(Code) | | This class implements javax.ejb.SessionContext interface. it should be
implemented by JStatefulContext and JStatelessContext depending if the beans
is stateful or stateless.
author: Philippe Coq, Philippe Durieux |
ismarkedremoved | protected boolean ismarkedremoved(Code) | | |
JSessionContext | public JSessionContext(JSessionFactory bf, SessionBean eb)(Code) | | Constructs a SessionContext
Parameters: bf - The Session Factory Parameters: eb - The Session bean instance |
getEJBLocalObject | public EJBLocalObject getEJBLocalObject() throws IllegalStateException(Code) | | Obtain a reference to the EJB local object that is currently associated
with the instance.
The EJB local object currently associated with the instance. throws: java.lang.IllegalStateException - - if the instance invokes thismethod while the instance is in a state that does not allow theinstance to invoke this method, or if the instance does not havea local interface. |
getEJBObject | public EJBObject getEJBObject() throws IllegalStateException(Code) | | Obtains a reference to the EJB object that is currently associated with
the instance.
The EJB object currently associated with the instance. exception: IllegalStateException - : Thrown if the instance invokes thismethod while the instance is in a state that does not allowthe instance to invoke this method. |
getInstance | public SessionBean getInstance() throws RemoteException(Code) | | Returns the bean instance of this context Used in the generated classes
to retrieve the instance
the bean instance throws: RemoteException - if no instance |
getRollbackOnly | public boolean getRollbackOnly() throws IllegalStateException(Code) | | Tests if the transaction has been marked for rollback only.
true if transaction will rollback |
initSessionContext | public void initSessionContext(JSessionSwitch bs)(Code) | | Reinit Context for reuse
Parameters: bs - The SessionSwitch to reuse. |
isMarkedRemoved | public boolean isMarkedRemoved()(Code) | | True if bean instance is marked removed. |
setConnectionList | abstract public void setConnectionList(List conlist)(Code) | | |
|
|
|