|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.objectweb.jonas_ejb.container.JStatefulPool
This class manages SessionContext objects for Session Stateful beans It is responsible for keeping Contexts in memory and storing them on disk when the swapper ask for more available memory.
Constructor Summary | |
JStatefulPool()
Constructor |
Method Summary | |
int |
addContext(JStatefulContext ctx)
add a new Context in the pool |
JStatefulContext |
getContext(int ctxid)
get a Context matching this Id |
void |
removeContext(int ctxid)
remove the Context matching this Id |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public JStatefulPool()
Method Detail |
public int addContext(JStatefulContext ctx)
ctx
- The Stateful Session Contextpublic JStatefulContext getContext(int ctxid)
ctxid
- Ident for this Sessionpublic void removeContext(int ctxid)
ctxid
- Ident for this Session
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |