org.apache.openejb.core.stateless
Class StatelessContext

java.lang.Object
  extended by org.apache.openejb.core.BaseContext
      extended by org.apache.openejb.core.BaseSessionContext
          extended by org.apache.openejb.core.stateless.StatelessContext
All Implemented Interfaces:
Flushable, Serializable, javax.ejb.EJBContext, javax.ejb.SessionContext

public class StatelessContext
extends BaseSessionContext
implements Flushable

Version:
$Rev: 1153797 $ $Date: 2011-08-04 09:09:44 +0000 (Thu, 04 Aug 2011) $
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.openejb.core.BaseContext
BaseContext.Call, BaseContext.State, BaseContext.UserTransactionWrapper
 
Field Summary
 
Fields inherited from class org.apache.openejb.core.BaseContext
securityService, userTransaction
 
Constructor Summary
StatelessContext(SecurityService securityService, Flushable flushable)
           
 
Method Summary
 void check(BaseContext.Call call)
           
 void flush()
           
 
Methods inherited from class org.apache.openejb.core.BaseSessionContext
getBusinessObject, getEJBLocalObject, getEJBObject, getInvokedBusinessInterface, getMessageContext, wasCancelCalled
 
Methods inherited from class org.apache.openejb.core.BaseContext
getCallerIdentity, getCallerPrincipal, getCallerPrincipal, getContextData, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, getUserTransaction, illegal, isCallerInRole, isCallerInRole, isCallerInRole, isTimerMethodAllowed, isUserTransactionAccessAllowed, lookup, setRollbackOnly, writeReplace
 
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, getContextData, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 

Constructor Detail

StatelessContext

public StatelessContext(SecurityService securityService,
                        Flushable flushable)
Method Detail

check

public void check(BaseContext.Call call)
Specified by:
check in class BaseContext

flush

public void flush()
           throws IOException
Specified by:
flush in interface Flushable
Throws:
IOException


Copyright © 1999-2013 The Apache Software Foundation. All Rights Reserved.