org.lateralnz.panther.wrapper
Class SessionContextWrapper
java.lang.Object
org.lateralnz.panther.wrapper.SessionContextWrapper
- All Implemented Interfaces:
- javax.ejb.EJBContext, javax.ejb.SessionContext
public class SessionContextWrapper
- extends java.lang.Object
- implements javax.ejb.SessionContext
simple wrapper for session context. At the moment this only supports the method
"setRollbackOnly"
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SessionContextWrapper
public SessionContextWrapper(SessionBeanHome sbw)
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
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
getRollbackOnly
public boolean getRollbackOnly()
- Specified by:
getRollbackOnly in interface javax.ejb.EJBContext
getUserTransaction
public javax.transaction.UserTransaction getUserTransaction()
- Specified by:
getUserTransaction in interface javax.ejb.EJBContext
isCallerInRole
public boolean isCallerInRole(java.lang.String str)
- Specified by:
isCallerInRole in interface javax.ejb.EJBContext
isCallerInRole
public boolean isCallerInRole(java.security.Identity identity)
- Specified by:
isCallerInRole in interface javax.ejb.EJBContext
setRollbackOnly
public void setRollbackOnly()
- Specified by:
setRollbackOnly in interface javax.ejb.EJBContext
getEJBLocalObject
public javax.ejb.EJBLocalObject getEJBLocalObject()
- Specified by:
getEJBLocalObject in interface javax.ejb.SessionContext
getEJBObject
public javax.ejb.EJBObject getEJBObject()
- Specified by:
getEJBObject in interface javax.ejb.SessionContext