Class SynapseDebugInfoHolder
- java.lang.Object
-
- java.util.Observable
-
- org.apache.synapse.transport.http.conn.SynapseDebugInfoHolder
-
public class SynapseDebugInfoHolder extends Observable
This class is to hold debug information for wire level debug in transport level
-
-
Field Summary
Fields Modifier and Type Field Description static StringDUMMY_MEDIATOR_IDstatic StringSYNAPSE_WIRE_LOG_HOLDER_PROPERTYstatic StringSYNAPSE_WIRE_LOG_MEDIATOR_ID_PROPERTY
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SynapseDebugInfoHoldergetInstance()get instance method which will return a single instancebooleanisDebuggerEnabled()voidsetDebuggerEnabled(boolean isDebuggerEnabled)voidsetWireLogHolder(SynapseWireLogHolder wireLogHolder)This method will set the wirelog holder and will notify observers about that, so they can retrieve it-
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
-
-
-
Field Detail
-
SYNAPSE_WIRE_LOG_HOLDER_PROPERTY
public static final String SYNAPSE_WIRE_LOG_HOLDER_PROPERTY
- See Also:
- Constant Field Values
-
SYNAPSE_WIRE_LOG_MEDIATOR_ID_PROPERTY
public static final String SYNAPSE_WIRE_LOG_MEDIATOR_ID_PROPERTY
- See Also:
- Constant Field Values
-
DUMMY_MEDIATOR_ID
public static final String DUMMY_MEDIATOR_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getInstance
public static SynapseDebugInfoHolder getInstance()
get instance method which will return a single instance- Returns:
-
setDebuggerEnabled
public void setDebuggerEnabled(boolean isDebuggerEnabled)
-
isDebuggerEnabled
public boolean isDebuggerEnabled()
-
setWireLogHolder
public void setWireLogHolder(SynapseWireLogHolder wireLogHolder)
This method will set the wirelog holder and will notify observers about that, so they can retrieve it- Parameters:
wireLogHolder-
-
-