|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.objectweb.jonas_ejb.container.JSessionSwitch
org.objectweb.jonas_ejb.container.JStatelessSwitch
JStatelessSwitch is the implementation of JSessionSwitch dedicated to the Stateless Session Bean.
| Field Summary |
| Fields inherited from class org.objectweb.jonas_ejb.container.JSessionSwitch |
bf, mylocal, myremote, mytimer |
| Constructor Summary | |
JStatelessSwitch(JStatelessFactory bf)
constructor. |
|
| Method Summary | |
void |
delistConnections(javax.transaction.Transaction tx)
This is not used for stateless |
void |
enlistConnections(javax.transaction.Transaction tx)
This is not used for stateless |
JSessionContext |
getICtx(javax.transaction.Transaction tx)
get an initialized Bean Context |
javax.xml.rpc.handler.MessageContext |
getMsgContext()
|
JServiceEndpoint |
getServiceEndpoint()
|
void |
noLongerUsed()
This Session is no longer used. |
void |
popConnectionList()
This is not used for stateless |
void |
pushConnectionList()
This is not used for stateless |
void |
releaseICtx(RequestCtx req,
boolean discard)
release the bean context. |
void |
saveBeanTx()
This do nothing for stateless |
void |
setMustCommit(boolean mc)
This is not used for stateless |
void |
timeoutExpired(java.lang.Object arg)
The session timeout has expired, or a Timer on this bean has expired. |
| Methods inherited from class org.objectweb.jonas_ejb.container.JSessionSwitch |
getBeanFactory, getLocal, getRemote, startTimer, stopTimer |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public JStatelessSwitch(JStatelessFactory bf)
throws java.rmi.RemoteException
bf - The Bean Factory
java.rmi.RemoteException - if the constructor fails| Method Detail |
public void timeoutExpired(java.lang.Object arg)
arg - Not Used.public JServiceEndpoint getServiceEndpoint()
public javax.xml.rpc.handler.MessageContext getMsgContext()
public JSessionContext getICtx(javax.transaction.Transaction tx)
throws java.rmi.RemoteException
getICtx in class JSessionSwitchtx - Current transaction (not used)
java.rmi.RemoteException - if context cannot be obtained
public void releaseICtx(RequestCtx req,
boolean discard)
releaseICtx in class JSessionSwitchpublic void noLongerUsed()
noLongerUsed in class JSessionSwitchpublic void setMustCommit(boolean mc)
setMustCommit in class JSessionSwitchmc - Not Used.public void pushConnectionList()
pushConnectionList in class JSessionSwitchpublic void popConnectionList()
popConnectionList in class JSessionSwitchpublic void enlistConnections(javax.transaction.Transaction tx)
enlistConnections in class JSessionSwitchtx - the transaction objectpublic void delistConnections(javax.transaction.Transaction tx)
delistConnections in class JSessionSwitchtx - the transaction objectpublic void saveBeanTx()
saveBeanTx in class JSessionSwitch
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||