|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.ejb.EnterpriseContext.EJBContextImpl (src)
org.jboss.ejb.StatefulSessionEnterpriseContext.StatefulSessionContextImpl
| Constructor Summary | |
protected |
StatefulSessionEnterpriseContext.StatefulSessionContextImpl()
|
| Method Summary | |
java.security.Principal |
getCallerPrincipal()
Get the Principal for the current caller. |
EJBHome (src) |
getEJBHome()
Obtain the enterprise bean's remote home interface. |
EJBLocalHome (src) |
getEJBLocalHome()
Obtain the enterprise bean's local home interface. |
EJBLocalObject (src) |
getEJBLocalObject()
Obtain a reference to the EJB local object that is currently associated with the instance. |
EJBObject (src) |
getEJBObject()
Obtain a reference to the EJB object that is currently associated with the instance. |
MessageContext (src) |
getMessageContext()
Obtain a reference to the JAX-RPC MessageContext. |
java.lang.Object |
getPrimaryKey()
|
boolean |
getRollbackOnly()
Test if the transaction has been marked for rollback only. |
TimerService (src) |
getTimerService()
Get access to the EJB Timer Service. |
UserTransaction (src) |
getUserTransaction()
Obtain the transaction demarcation interface. |
boolean |
isCallerInRole(java.lang.String id)
Tests if the caller has a given role. |
void |
setRollbackOnly()
Mark the current transaction for rollback. |
| Methods inherited from class org.jboss.ejb.EnterpriseContext.EJBContextImpl (src) |
getCallerIdentity, getEnvironment, isCallerInRole, lookup |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.ejb.EJBContext (src) |
getCallerIdentity, getEnvironment, isCallerInRole, lookup |
| Constructor Detail |
protected StatefulSessionEnterpriseContext.StatefulSessionContextImpl()
| Method Detail |
public EJBHome (src) getEJBHome()
EJBContext (src)
getEJBHome in interface EJBContext (src) getEJBHome in class EnterpriseContext.EJBContextImpl (src) public EJBLocalHome (src) getEJBLocalHome()
EJBContext (src)
getEJBLocalHome in interface EJBContext (src) getEJBLocalHome in class EnterpriseContext.EJBContextImpl (src) public java.security.Principal getCallerPrincipal()
getCallerPrincipal in interface EJBContext (src) getCallerPrincipal in class EnterpriseContext.EJBContextImpl (src) public boolean isCallerInRole(java.lang.String id)
EJBContext (src)
isCallerInRole in interface EJBContext (src) isCallerInRole in class EnterpriseContext.EJBContextImpl (src) public EJBObject (src) getEJBObject()
SessionContext (src) Obtain a reference to the EJB object that is currently associated with the instance.
An instance of a session enterprise Bean can call this method at anytime between the ejbCreate() and ejbRemove() methods, including from within the ejbCreate() and ejbRemove() methods.
An instance can use this method, for example, when it wants to pass a reference to itself in a method argument or result.
getEJBObject in interface SessionContext (src) public EJBLocalObject (src) getEJBLocalObject()
SessionContext (src) Obtain a reference to the EJB local object that is currently associated with the instance.
An instance of an entity enterprise Bean can call this method only when the instance is associated with an EJB local object identity, i.e. in the ejbActivate, ejbPassivate, ejbPostCreate, ejbRemove, ejbLoad, ejbStore, and business methods.
An instance can use this method, for example, when it wants to pass a reference to itself in a method argument or result.
getEJBLocalObject in interface SessionContext (src) public boolean getRollbackOnly()
EJBContext (src)
getRollbackOnly in interface EJBContext (src) getRollbackOnly in class EnterpriseContext.EJBContextImpl (src) public void setRollbackOnly()
EJBContext (src)
setRollbackOnly in interface EJBContext (src) setRollbackOnly in class EnterpriseContext.EJBContextImpl (src) public UserTransaction (src) getUserTransaction()
EJBContext (src)
getUserTransaction in interface EJBContext (src) getUserTransaction in class EnterpriseContext.EJBContextImpl (src)
public TimerService (src) getTimerService()
throws java.lang.IllegalStateException
EJBContext (src)
getTimerService in interface EJBContext (src) getTimerService in class EnterpriseContext.EJBContextImpl (src) java.lang.IllegalStateException
public MessageContext (src) getMessageContext()
throws java.lang.IllegalStateException
SessionContext (src)
getMessageContext in interface SessionContext (src) java.lang.IllegalStateException - - Thrown if this method is invoked while
the instance is in a state that does not allow access to this method.public java.lang.Object getPrimaryKey()
|
||||||||||
| PREV CLASS (src) NEXT CLASS (src) | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||