org.objectweb.jonas_ejb.container
Class JStatelessContext

java.lang.Object
  |
  +--org.objectweb.jonas_ejb.container.JContext
        |
        +--org.objectweb.jonas_ejb.container.JSessionContext
              |
              +--org.objectweb.jonas_ejb.container.JStatelessContext
All Implemented Interfaces:
javax.ejb.EJBContext, java.io.Serializable, javax.ejb.SessionContext

public class JStatelessContext
extends JSessionContext

This class extends JSessionContext in case of Stateless Session Bean.

Author:
Philippe Durieux
See Also:
Serialized Form

Fields inherited from class org.objectweb.jonas_ejb.container.JSessionContext
bs, ismarkedremoved
 
Fields inherited from class org.objectweb.jonas_ejb.container.JContext
bf, cont, home, instance, localhome, roleGuard, tm
 
Constructor Summary
JStatelessContext(JSessionFactory bf, javax.ejb.SessionBean sb)
          constructor
 
Method Summary
 void setRemoved()
          set this instance as removed
 
Methods inherited from class org.objectweb.jonas_ejb.container.JSessionContext
getEJBLocalObject, getEJBObject, getInstance, initSessionContext, isMarkedRemoved
 
Methods inherited from class org.objectweb.jonas_ejb.container.JContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getUserTransaction, isCallerInRole, isCallerInRole, setRollbackOnly
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface javax.ejb.EJBContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getUserTransaction, isCallerInRole, isCallerInRole, setRollbackOnly
 

Constructor Detail

JStatelessContext

public JStatelessContext(JSessionFactory bf,
                         javax.ejb.SessionBean sb)
constructor
Parameters:
bf - The Bean Factory
sb - The Session Bean instance.
Method Detail

setRemoved

public void setRemoved()
                throws java.rmi.RemoteException,
                       javax.ejb.RemoveException
set this instance as removed
Overrides:
setRemoved in class JSessionContext