|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.elca.el4j.core.correlationId.CorrelationIdManagerSlf4jImpl
public class CorrelationIdManagerSlf4jImpl
Provides an implementation of the CorrelationIdManager
which stores the
current correlation Id as the variable 'correlationId' in SLF4J's MDC.
Constructor Summary | |
---|---|
CorrelationIdManagerSlf4jImpl()
|
Method Summary | |
---|---|
void |
clearCurrentCorrelationId()
Clears the correlation id. |
void |
createNewCorrelationId()
generates a new correlation Id value and sets it as the new current value. |
String |
getCurrentCorrelationId()
|
void |
setCurrentCorrelationId(String correlationId)
sets the current correlation id to the specified value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CorrelationIdManagerSlf4jImpl()
Method Detail |
---|
public void createNewCorrelationId()
createNewCorrelationId
in interface CorrelationIdManager
public String getCurrentCorrelationId()
getCurrentCorrelationId
in interface CorrelationIdManager
public void setCurrentCorrelationId(String correlationId)
setCurrentCorrelationId
in interface CorrelationIdManager
correlationId
- the new valuepublic void clearCurrentCorrelationId()
clearCurrentCorrelationId
in interface CorrelationIdManager
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |