|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jonas_ejb.container.JContext
org.objectweb.jonas_ejb.container.JSessionContext
org.objectweb.jonas_ejb.container.JStatelessContext
This class extends JSessionContext in case of Stateless Session Bean.
| Field Summary |
| Fields inherited from class org.objectweb.jonas_ejb.container.JSessionContext |
bs, ismarkedremoved |
| Fields inherited from class org.objectweb.jonas_ejb.container.JContext |
bf, myinstance, tm |
| Constructor Summary | |
JStatelessContext(JSessionFactory bf,
javax.ejb.SessionBean sb)
constructor |
|
| Method Summary | |
javax.ejb.Timer |
createTimer(java.util.Date arg0,
long arg1,
java.io.Serializable arg2)
|
javax.ejb.Timer |
createTimer(java.util.Date arg0,
java.io.Serializable arg1)
|
javax.ejb.Timer |
createTimer(long arg0,
long arg1,
java.io.Serializable arg2)
|
javax.ejb.Timer |
createTimer(long arg0,
java.io.Serializable arg1)
|
java.security.Principal |
getCallerPrincipal()
Obtain the java.security.Principal that identifies the caller. |
javax.xml.rpc.handler.MessageContext |
getMessageContext()
Obtain a reference to the JAX-RPC MessageContext. |
java.util.Collection |
getTimers()
|
javax.ejb.TimerService |
getTimerService()
Get access to the EJB Timer Service. |
boolean |
isCallerInRole(java.lang.String roleName)
Test if the caller has a given role. |
void |
setConnectionList(java.util.List conlist)
Set the connection list for this instance. |
void |
setRemoved()
set this instance as removed |
| Methods inherited from class org.objectweb.jonas_ejb.container.JSessionContext |
getEJBLocalObject, getEJBObject, getInstance, getRollbackOnly, initSessionContext, isMarkedRemoved |
| Methods inherited from class org.objectweb.jonas_ejb.container.JContext |
getCallerIdentity, getEJBHome, getEJBLocalHome, getEnvironment, getState, getUserTransaction, getWorkManager, isCallerInRole, setRollbackOnly, setState |
| 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 |
getCallerIdentity, getEJBHome, getEJBLocalHome, getEnvironment, getUserTransaction, isCallerInRole, setRollbackOnly |
| Constructor Detail |
public JStatelessContext(JSessionFactory bf,
javax.ejb.SessionBean sb)
bf - The Bean Factorysb - The Session Bean instance.| Method Detail |
public javax.ejb.TimerService getTimerService()
throws java.lang.IllegalStateException
getTimerService in interface javax.ejb.EJBContextgetTimerService in class JContextjava.lang.IllegalStateException - Thrown if the instance is not allowed to
use this method
public void setRemoved()
throws java.rmi.RemoteException,
javax.ejb.RemoveException
setRemoved in class JSessionContextjava.rmi.RemoteException
javax.ejb.RemoveException
public javax.xml.rpc.handler.MessageContext getMessageContext()
throws java.lang.IllegalStateException
getMessageContext in interface javax.ejb.SessionContextgetMessageContext in class JSessionContextjava.lang.IllegalStateException - - the instance is in a state that
does not allow access to this method.public void setConnectionList(java.util.List conlist)
setConnectionList in class JSessionContext
public java.security.Principal getCallerPrincipal()
throws java.lang.IllegalStateException
getCallerPrincipal in interface javax.ejb.EJBContextgetCallerPrincipal in class JContextjava.lang.IllegalStateException - no security context exists
public boolean isCallerInRole(java.lang.String roleName)
throws java.lang.IllegalStateException
isCallerInRole in interface javax.ejb.EJBContextisCallerInRole in class JContextroleName - The name of the security role. The role must be one of
the security-role-ref that is defined in the deployment
descriptor.
java.lang.IllegalStateException - Security service not started
public javax.ejb.Timer createTimer(long arg0,
java.io.Serializable arg1)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
javax.ejb.EJBException
createTimer in interface javax.ejb.TimerServicejava.lang.IllegalArgumentException
java.lang.IllegalStateException
javax.ejb.EJBExceptionTimerService.createTimer(long, java.io.Serializable)
public javax.ejb.Timer createTimer(long arg0,
long arg1,
java.io.Serializable arg2)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
javax.ejb.EJBException
createTimer in interface javax.ejb.TimerServicejava.lang.IllegalArgumentException
java.lang.IllegalStateException
javax.ejb.EJBExceptionTimerService.createTimer(long, long, java.io.Serializable)
public javax.ejb.Timer createTimer(java.util.Date arg0,
java.io.Serializable arg1)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
javax.ejb.EJBException
createTimer in interface javax.ejb.TimerServicejava.lang.IllegalArgumentException
java.lang.IllegalStateException
javax.ejb.EJBExceptionTimerService.createTimer(java.util.Date, java.io.Serializable)
public javax.ejb.Timer createTimer(java.util.Date arg0,
long arg1,
java.io.Serializable arg2)
throws java.lang.IllegalArgumentException,
java.lang.IllegalStateException,
javax.ejb.EJBException
createTimer in interface javax.ejb.TimerServicejava.lang.IllegalArgumentException
java.lang.IllegalStateException
javax.ejb.EJBExceptionTimerService.createTimer(java.util.Date, long, java.io.Serializable)
public java.util.Collection getTimers()
throws java.lang.IllegalStateException,
javax.ejb.EJBException
getTimers in interface javax.ejb.TimerServicejava.lang.IllegalStateException
javax.ejb.EJBExceptionTimerService.getTimers()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||