org.apache.openejb.core
Class BaseSessionContext.LifecycleSessionState

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.BaseSessionContext.LifecycleSessionState
Direct Known Subclasses:
BaseSessionContext.PostConstructSessionState
Enclosing class:
BaseSessionContext

public static class BaseSessionContext.LifecycleSessionState
extends BaseSessionContext.SessionState

PostConstruct, Pre-Destroy lifecycle callback interceptor methods


Constructor Summary
BaseSessionContext.LifecycleSessionState()
           
 
Method Summary
 Principal getCallerPrincipal(SecurityService securityService)
           
 Class getInvokedBusinessInterface()
           
 javax.xml.rpc.handler.MessageContext getMessageContext()
           
 boolean getRollbackOnly()
           
 boolean isCallerInRole(SecurityService securityService, String roleName)
           
 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
getEJBHome, getEJBLocalHome, getTimerService, getUserTransaction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BaseSessionContext.LifecycleSessionState

public BaseSessionContext.LifecycleSessionState()
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

getCallerPrincipal

public Principal getCallerPrincipal(SecurityService securityService)
Overrides:
getCallerPrincipal in class BaseContext.State

isCallerInRole

public boolean isCallerInRole(SecurityService securityService,
                              String roleName)
Overrides:
isCallerInRole in class BaseContext.State

setRollbackOnly

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

getRollbackOnly

public boolean getRollbackOnly()
                        throws IllegalStateException
Overrides:
getRollbackOnly in class BaseContext.State
Throws:
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-2013 The Apache OpenEJB development community. All Rights Reserved.