com.caucho.ejb.session
Class StatelessContext

java.lang.Object
  extended by com.caucho.ejb.AbstractContext
      extended by com.caucho.ejb.session.AbstractSessionContext
          extended by com.caucho.ejb.session.StatelessContext
All Implemented Interfaces:
EJBContext, SessionContext

public abstract class StatelessContext
extends AbstractSessionContext

Abstract base class for an stateless session context


Constructor Summary
StatelessContext(StatelessServer server)
           
 
Method Summary
protected  java.lang.Object _caucho_newInstance()
          Returns the new instance for EJB 3.0
protected  java.lang.Object _caucho_newInstance(ConfigContext env)
          Returns the new instance for EJB 3.0
protected  java.lang.Object _caucho_newInstance21()
          Returns the new instance for EJB 2.1
protected  java.lang.Object _caucho_newRemoteInstance()
          Returns the new remote instance for EJB 3.0
protected  java.lang.Object _caucho_newRemoteInstance21()
          Returns the new remote instance for EJB 2.1
 EJBObject getEJBObject()
          Returns the EJBObject stub for the container.
 StatelessProvider getProvider(java.lang.Class api)
           
 AbstractServer getServer()
          Returns the server which owns this bean.
 StatelessServer getStatelessServer()
          Returns the server which owns this bean.
 TimerService getTimerService()
          Returns the timer service.
 
Methods inherited from class com.caucho.ejb.session.AbstractSessionContext
getBusinessObject, getEJBHome, getEJBLocalHome
 
Methods inherited from class com.caucho.ejb.AbstractContext
__caucho_setInvokedBusinessInterface, __caucho_timeout_callback, createLocalHome, createRemoteHomeView, createRemoteView, createRemoteView21, destroy, getCallerIdentity, getCallerPrincipal, getEJBLocalObject, getEJBMetaData, getEnvironment, getHandle, getHomeHandle, getInvokedBusinessInterface, getRemoteView, getRollbackOnly, getUserTransaction, isCallerInRole, isCallerInRole, isDead, lookup, remove, 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.SessionContext
getEJBLocalObject, getInvokedBusinessInterface
 
Methods inherited from interface javax.ejb.EJBContext
getCallerIdentity, getCallerPrincipal, getEnvironment, getRollbackOnly, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 

Constructor Detail

StatelessContext

public StatelessContext(StatelessServer server)
Method Detail

getStatelessServer

public StatelessServer getStatelessServer()
Returns the server which owns this bean.


getServer

public AbstractServer getServer()
Returns the server which owns this bean.

Specified by:
getServer in class AbstractContext

getTimerService

public TimerService getTimerService()
                             throws java.lang.IllegalStateException
Returns the timer service.

Specified by:
getTimerService in interface EJBContext
Overrides:
getTimerService in class AbstractContext
Throws:
java.lang.IllegalStateException

getProvider

public StatelessProvider getProvider(java.lang.Class api)

getEJBObject

public EJBObject getEJBObject()
Returns the EJBObject stub for the container.

Specified by:
getEJBObject in interface SessionContext
Overrides:
getEJBObject in class AbstractContext

_caucho_newInstance

protected java.lang.Object _caucho_newInstance()
Returns the new instance for EJB 3.0


_caucho_newInstance

protected java.lang.Object _caucho_newInstance(ConfigContext env)
Returns the new instance for EJB 3.0


_caucho_newInstance21

protected java.lang.Object _caucho_newInstance21()
Returns the new instance for EJB 2.1


_caucho_newRemoteInstance

protected java.lang.Object _caucho_newRemoteInstance()
Returns the new remote instance for EJB 3.0


_caucho_newRemoteInstance21

protected java.lang.Object _caucho_newRemoteInstance21()
Returns the new remote instance for EJB 2.1