|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas_ejb.container.JSessionSwitch org.objectweb.jonas_ejb.container.JStatelessSwitch
public class 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 failsMethod 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 JSessionSwitch
tx
- Current transaction (not used)
java.rmi.RemoteException
- if context cannot be obtainedpublic void releaseICtx(RequestCtx req, boolean discard)
releaseICtx
in class JSessionSwitch
tx
- Current transaction (not used)public void noLongerUsed()
noLongerUsed
in class JSessionSwitch
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
tx
- the transaction objectpublic void delistConnections(javax.transaction.Transaction tx)
delistConnections
in class JSessionSwitch
tx
- 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 |