org.objectweb.carol.cmi.ha.interceptor
Class HACurrent

java.lang.Object
  extended byorg.objectweb.carol.cmi.ha.interceptor.HACurrent

public class HACurrent
extends java.lang.Object

Class enabling to get the current context


Constructor Summary
HACurrent()
           
 
Method Summary
static HACurrent getHACurrent()
           
 void setDlg(HACurrentDelegate dlg)
          Set the delegate
 void setNextReq(RequestId nextReq)
          Set the next request in the current context if exists
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HACurrent

public HACurrent()
Method Detail

setDlg

public void setDlg(HACurrentDelegate dlg)
Set the delegate

Parameters:
dlg - delegate class

getHACurrent

public static HACurrent getHACurrent()
Returns:
Get the singleton

setNextReq

public void setNextReq(RequestId nextReq)
Set the next request in the current context if exists

Parameters:
nextReq - the next request