|
||||||||||
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, local, mytimer, remote |
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 |
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(javax.transaction.Transaction tx)
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 |
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 FactoryMethod Detail |
public void timeoutExpired(java.lang.Object arg)
arg
- Not Used.public JSessionContext getICtx(javax.transaction.Transaction tx) throws java.rmi.RemoteException
getICtx
in class JSessionSwitch
tx
- Current transaction (not used)
java.rmi.RemoteException
public void releaseICtx(javax.transaction.Transaction tx)
releaseICtx
in class JSessionSwitch
tx
- Current transaction (not used)public void noLongerUsed()
public void setMustCommit(boolean mc)
setMustCommit
in class JSessionSwitch
mc
- Not Used.public void pushConnectionList()
pushConnectionList
in class JSessionSwitch
public void popConnectionList()
popConnectionList
in class JSessionSwitch
public void enlistConnections(javax.transaction.Transaction tx)
enlistConnections
in class JSessionSwitch
public void delistConnections(javax.transaction.Transaction tx)
delistConnections
in class JSessionSwitch
public void saveBeanTx()
saveBeanTx
in class JSessionSwitch
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |