| |
|
| java.lang.Object org.objectweb.jonas_ejb.container.JContext org.objectweb.jonas_ejb.container.JSessionContext org.objectweb.jonas_ejb.container.JStatefulContext
All known Subclasses: org.objectweb.jonas_ejb.container.JRepStatefulContext,
JStatefulContext | public class JStatefulContext extends JSessionContext implements Synchronization(Code) | | This class extends JSessionContext in case of Stateful Session Bean.
author: Philippe Coq, Philippe Durieux |
Method Summary | |
public void | afterCompletion(int status) The afterCompletion method is called by the transaction manager after the
transaction is committed or rolled back. | public void | beforeCompletion() This beforeCompletion method is called by the transaction manager prior
to the start of the transaction completion process. | public MessageContext | getMessageContext() Obtain a reference to the JAX-RPC MessageContext. | public TimerService | getTimerService() Get access to the EJB Timer Service. | public void | setConnectionList(List conlist) Set the connection list for this instance. | public void | setInstance(SessionBean sb) set instance. | public void | setRemoved() |
synchro | boolean synchro(Code) | | the bean instance implements SessionSynchronization interface
|
timedout | boolean timedout(Code) | | |
JStatefulContext | public JStatefulContext(JSessionFactory bf, SessionBean sb, boolean sync)(Code) | | Constructs a JStatefulContext
Parameters: bf - - the Session Factory Parameters: sb - - the Enterprise Bean instance Parameters: sync - - True if implements SessionSymchronization. |
afterCompletion | public void afterCompletion(int status)(Code) | | The afterCompletion method is called by the transaction manager after the
transaction is committed or rolled back. This method executes without a
transaction context.
Parameters: status - The status of the transaction completion. |
beforeCompletion | public void beforeCompletion()(Code) | | This beforeCompletion method is called by the transaction manager prior
to the start of the transaction completion process. This method executes
in the transaction context of the calling thread.
|
setConnectionList | public void setConnectionList(List conlist)(Code) | | Set the connection list for this instance.
|
setInstance | public void setInstance(SessionBean sb)(Code) | | set instance. Used for passivation/activation.
Parameters: sb - |
setRemoved | public void setRemoved() throws RemoteException, RemoveException(Code) | | set this instance as removed
|
|
|
|