org.apache.openejb.core.stateful
Class StatefulContext.LifecycleStatefulSessionState

java.lang.Object
  extended by org.apache.openejb.core.BaseContext.State
      extended by org.apache.openejb.core.BaseSessionContext.SessionState
          extended by org.apache.openejb.core.stateful.StatefulContext.LifecycleStatefulSessionState
Enclosing class:
StatefulContext

public static class StatefulContext.LifecycleStatefulSessionState
extends BaseSessionContext.SessionState

PostConstruct, Pre-Destroy lifecycle callback interceptor methods


Constructor Summary
StatefulContext.LifecycleStatefulSessionState()
           
 
Method Summary
 Class getInvokedBusinessInterface()
           
 javax.xml.rpc.handler.MessageContext getMessageContext()
           
 boolean getRollbackOnly(TransactionManager transactionManager)
           
 boolean isMessageContextAccessAllowed()
           
 boolean isTimerAccessAllowed()
           
 boolean isTimerMethodAllowed()
           
 void setRollbackOnly(TransactionManager transactionManager)
           
 
Methods inherited from class org.apache.openejb.core.BaseSessionContext.SessionState
getBusinessObject, getEJBLocalObject, getEJBObject
 
Methods inherited from class org.apache.openejb.core.BaseContext.State
getCallerPrincipal, getEJBHome, getEJBLocalHome, getTimerService, getUserTransaction, isCallerInRole, isEntityManagerAccessAllowed, isEntityManagerFactoryAccessAllowed, isJNDIAccessAllowed, isUserTransactionAccessAllowed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulContext.LifecycleStatefulSessionState

public StatefulContext.LifecycleStatefulSessionState()
Method Detail

getMessageContext

public javax.xml.rpc.handler.MessageContext getMessageContext()
                                                       throws IllegalStateException
Overrides:
getMessageContext in class BaseSessionContext.SessionState
Throws:
IllegalStateException

getInvokedBusinessInterface

public Class getInvokedBusinessInterface()
Overrides:
getInvokedBusinessInterface in class BaseSessionContext.SessionState

setRollbackOnly

public void setRollbackOnly(TransactionManager transactionManager)
                     throws IllegalStateException
Overrides:
setRollbackOnly in class BaseContext.State
Throws:
IllegalStateException

getRollbackOnly

public boolean getRollbackOnly(TransactionManager transactionManager)
                        throws IllegalStateException
Overrides:
getRollbackOnly in class BaseContext.State
Throws:
IllegalStateException

isMessageContextAccessAllowed

public boolean isMessageContextAccessAllowed()
Overrides:
isMessageContextAccessAllowed in class BaseContext.State

isTimerAccessAllowed

public boolean isTimerAccessAllowed()
Overrides:
isTimerAccessAllowed in class BaseContext.State

isTimerMethodAllowed

public boolean isTimerMethodAllowed()
Overrides:
isTimerMethodAllowed in class BaseContext.State


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