org.jboss.ejb3
Class EJBContextImpl<T extends Container,B extends BeanContext<T>>
java.lang.Object
org.jboss.ejb3.EJBContextImpl<T,B>
- All Implemented Interfaces:
- javax.ejb.EJBContext
- Direct Known Subclasses:
- MessageDrivenContextImpl, ServiceSessionContextImpl, SessionContextDelegateBase
public abstract class EJBContextImpl<T extends Container,B extends BeanContext<T>>
- extends Object
- implements javax.ejb.EJBContext
EJB3 Enterprise Context Implementation
- Version:
- $Revision: 82440 $
- Author:
- Bill Burke, Anil.Saldhana@redhat.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
container
protected transient T extends Container container
rm
protected transient org.jboss.security.RealmMapping rm
beanContext
protected B extends BeanContext<T> beanContext
ejbContextHelper
protected org.jboss.ejb3.security.helpers.EJBContextHelper ejbContextHelper
EJBContextImpl
protected EJBContextImpl(B beanContext)
getContainer
protected T getContainer()
getRm
protected org.jboss.security.RealmMapping getRm()
lookup
public Object lookup(String name)
- Specified by:
lookup
in interface javax.ejb.EJBContext
getCallerIdentity
public Identity getCallerIdentity()
- Specified by:
getCallerIdentity
in interface javax.ejb.EJBContext
getCallerPrincipal
public Principal getCallerPrincipal()
- Specified by:
getCallerPrincipal
in interface javax.ejb.EJBContext
- See Also:
EJBContext.getCallerPrincipal()
isCallerInRole
public boolean isCallerInRole(Identity role)
- Specified by:
isCallerInRole
in interface javax.ejb.EJBContext
isCallerInRole
public boolean isCallerInRole(String roleName)
- Specified by:
isCallerInRole
in interface javax.ejb.EJBContext
- See Also:
EJBContext.isCallerInRole(String)
getTimerService
public javax.ejb.TimerService getTimerService()
throws IllegalStateException
- Specified by:
getTimerService
in interface javax.ejb.EJBContext
- Throws:
IllegalStateException
getUserTransaction
public UserTransaction getUserTransaction()
throws IllegalStateException
- Specified by:
getUserTransaction
in interface javax.ejb.EJBContext
- Throws:
IllegalStateException
getEJBHome
public javax.ejb.EJBHome getEJBHome()
- Specified by:
getEJBHome
in interface javax.ejb.EJBContext
getEJBLocalHome
public javax.ejb.EJBLocalHome getEJBLocalHome()
- Specified by:
getEJBLocalHome
in interface javax.ejb.EJBContext
getEnvironment
public Properties getEnvironment()
- Specified by:
getEnvironment
in interface javax.ejb.EJBContext
setRollbackOnly
public void setRollbackOnly()
throws IllegalStateException
- Specified by:
setRollbackOnly
in interface javax.ejb.EJBContext
- Throws:
IllegalStateException
getRollbackOnly
public boolean getRollbackOnly()
throws IllegalStateException
- Specified by:
getRollbackOnly
in interface javax.ejb.EJBContext
- Throws:
IllegalStateException
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.