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

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.AfterCompletion
Enclosing class:
StatefulContext

public static class StatefulContext.AfterCompletion
extends BaseSessionContext.SessionState

afterCompletion


Constructor Summary
StatefulContext.AfterCompletion()
           
 
Method Summary
 java.lang.Class getInvokedBusinessInterface()
           
 javax.xml.rpc.handler.MessageContext getMessageContext()
           
 boolean getRollbackOnly()
           
 boolean isEntityManagerAccessAllowed()
           
 boolean isEntityManagerFactoryAccessAllowed()
           
 boolean isJNDIAccessAllowed()
           
 boolean isMessageContextAccessAllowed()
           
 boolean isTimerAccessAllowed()
           
 boolean isTimerMethodAllowed()
           
 boolean isUserTransactionAccessAllowed()
           
 void setRollbackOnly()
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatefulContext.AfterCompletion

public StatefulContext.AfterCompletion()
Method Detail

getMessageContext

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

getInvokedBusinessInterface

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

setRollbackOnly

public void setRollbackOnly()
                     throws java.lang.IllegalStateException
Overrides:
setRollbackOnly in class BaseContext.State
Throws:
java.lang.IllegalStateException

getRollbackOnly

public boolean getRollbackOnly()
                        throws java.lang.IllegalStateException
Overrides:
getRollbackOnly in class BaseContext.State
Throws:
java.lang.IllegalStateException

isUserTransactionAccessAllowed

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

isMessageContextAccessAllowed

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

isJNDIAccessAllowed

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

isEntityManagerFactoryAccessAllowed

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

isEntityManagerAccessAllowed

public boolean isEntityManagerAccessAllowed()
Overrides:
isEntityManagerAccessAllowed 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.