org.jfox.ejb
Class EJBContextSupport
java.lang.Object
org.jfox.ejb.EJBContextSupport
- All Implemented Interfaces:
- javax.ejb.EJBContext
- Direct Known Subclasses:
- SessionContextImpl
- public class EJBContextSupport
- extends java.lang.Object
- implements javax.ejb.EJBContext
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objectId
protected ObjectId objectId
EJBContextSupport
public EJBContextSupport(ObjectId objectId)
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 java.util.Properties getEnvironment()
- Specified by:
getEnvironment in interface javax.ejb.EJBContext
getCallerIdentity
public java.security.Identity getCallerIdentity()
- Specified by:
getCallerIdentity in interface javax.ejb.EJBContext
getCallerPrincipal
public java.security.Principal getCallerPrincipal()
- Specified by:
getCallerPrincipal in interface javax.ejb.EJBContext
isCallerInRole
public boolean isCallerInRole(java.security.Identity identity)
- Specified by:
isCallerInRole in interface javax.ejb.EJBContext
isCallerInRole
public boolean isCallerInRole(java.lang.String string)
- Specified by:
isCallerInRole in interface javax.ejb.EJBContext
getUserTransaction
public javax.transaction.UserTransaction getUserTransaction()
throws java.lang.IllegalStateException
- Specified by:
getUserTransaction in interface javax.ejb.EJBContext
- Throws:
java.lang.IllegalStateException
setRollbackOnly
public void setRollbackOnly()
throws java.lang.IllegalStateException
- Specified by:
setRollbackOnly in interface javax.ejb.EJBContext
- Throws:
java.lang.IllegalStateException
getRollbackOnly
public boolean getRollbackOnly()
throws java.lang.IllegalStateException
- Specified by:
getRollbackOnly in interface javax.ejb.EJBContext
- Throws:
java.lang.IllegalStateException