org.apache.openejb.core.mdb
Class MdbContext

java.lang.Object
  extended by org.apache.openejb.core.BaseContext
      extended by org.apache.openejb.core.mdb.MdbContext
All Implemented Interfaces:
Serializable, javax.ejb.EJBContext, javax.ejb.MessageDrivenContext

public class MdbContext
extends BaseContext
implements javax.ejb.MessageDrivenContext

Version:
$Rev: 602704 $ $Date: 2007-12-09 18:58:22 +0100 (So, 09. Dez 2007) $
See Also:
Serialized Form

Nested Class Summary
protected static class MdbContext.BusinessTimeoutMdbState
          Message listener method, business method interceptor method and imeout callback method
protected static class MdbContext.InjectionMdbState
          Dependency injection methods (e.g., setMessageDrivenContext)
protected static class MdbContext.LifecycleMdbState
          PostConstruct, Pre-Destroy lifecycle callback interceptor methods
 
Nested classes/interfaces inherited from class org.apache.openejb.core.BaseContext
BaseContext.State, BaseContext.UserTransactionWrapper
 
Field Summary
protected static BaseContext.State[] states
           
 
Constructor Summary
  MdbContext(TransactionManager transactionManager, SecurityService securityService)
           
protected MdbContext(TransactionManager transactionManager, SecurityService securityService, UserTransaction userTransaction)
           
 
Method Summary
protected  BaseContext.State getState()
           
static BaseContext.State[] getStates()
           
 
Methods inherited from class org.apache.openejb.core.BaseContext
getCallerIdentity, getCallerPrincipal, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, isEntityManagerAccessAllowed, isEntityManagerFactoryAccessAllowed, isJNDIAccessAllowed, isMessageContextAccessAllowed, isTimerAccessAllowed, 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, getEJBHome, getEJBLocalHome, getEnvironment, getRollbackOnly, getTimerService, getUserTransaction, isCallerInRole, isCallerInRole, lookup, setRollbackOnly
 

Field Detail

states

protected static final BaseContext.State[] states
Constructor Detail

MdbContext

public MdbContext(TransactionManager transactionManager,
                  SecurityService securityService)

MdbContext

protected MdbContext(TransactionManager transactionManager,
                     SecurityService securityService,
                     UserTransaction userTransaction)
Method Detail

getStates

public static BaseContext.State[] getStates()

getState

protected BaseContext.State getState()
Specified by:
getState in class BaseContext


Copyright © 1999-2011 The Apache OpenEJB development community. All Rights Reserved.