|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.objectweb.jonas.ha.interceptor.HACurrentDelegateImpl
This class handles the HAContext/Thread association
Constructor Summary | |
HACurrentDelegateImpl()
|
Method Summary | |
static HACurrentDelegateImpl |
getCurrent()
Returns the unique instance |
java.util.Stack |
getRequests()
Get the request stack |
org.objectweb.carol.cmi.ha.ViewIdWrapper |
getViewIdWrapper()
|
boolean |
isOnFailover()
Gets the onFailover variable |
void |
pushViewIdWrapper(org.objectweb.carol.cmi.ha.ViewIdWrapper info)
|
void |
putNextReq(org.objectweb.carol.cmi.ha.RequestId nextReq)
Put the request in the request stack |
void |
setOnFailover(boolean onFailover)
Sets the onFailover variable |
void |
setRequests(java.util.Stack requests)
Set the requests stack in the current context |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public HACurrentDelegateImpl()
Method Detail |
public static HACurrentDelegateImpl getCurrent()
public void setRequests(java.util.Stack requests)
requests
- the next requestpublic java.util.Stack getRequests()
public void putNextReq(org.objectweb.carol.cmi.ha.RequestId nextReq)
putNextReq
in interface org.objectweb.carol.cmi.ha.interceptor.HACurrentDelegate
nextReq
- the next requestpublic void setOnFailover(boolean onFailover)
setOnFailover
in interface org.objectweb.carol.cmi.ha.interceptor.HACurrentDelegate
onFailover
- public boolean isOnFailover()
isOnFailover
in interface org.objectweb.carol.cmi.ha.interceptor.HACurrentDelegate
public void pushViewIdWrapper(org.objectweb.carol.cmi.ha.ViewIdWrapper info)
pushViewIdWrapper
in interface org.objectweb.carol.cmi.ha.interceptor.HACurrentDelegate
public org.objectweb.carol.cmi.ha.ViewIdWrapper getViewIdWrapper()
getViewIdWrapper
in interface org.objectweb.carol.cmi.ha.interceptor.HACurrentDelegate
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |