at.gv.egovernment.moa.logging
Class LoggingContext
java.lang.Object
|
+--at.gv.egovernment.moa.logging.LoggingContext
- public class LoggingContext
- extends Object
Encapsulates contextual information (i.e. per request information) for
logging purposes.
- Version:
- $Id$
- Author:
- Patrick Peck
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NODE_ID_PROPERTY
public static final String NODE_ID_PROPERTY
- The name of the node ID system property.
LoggingContext
public LoggingContext(String transactionID)
- Create a new
LoggingContext
.
- Parameters:
transactionID
- The transaction ID. May be null
.
getTransactionID
public String getTransactionID()
- Return the transaction ID.
- Returns:
- The transaction ID.
getNodeID
public String getNodeID()
- Return the node ID.
- Returns:
- The node ID.