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

Field Summary
static String NODE_ID_PROPERTY
          The name of the node ID system property.
 
Constructor Summary
LoggingContext(String transactionID)
          Create a new LoggingContext.
 
Method Summary
 String getNodeID()
          Return the node ID.
 String getTransactionID()
          Return the transaction ID.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NODE_ID_PROPERTY

public static final String NODE_ID_PROPERTY
The name of the node ID system property.
Constructor Detail

LoggingContext

public LoggingContext(String transactionID)
Create a new LoggingContext.
Parameters:
transactionID - The transaction ID. May be null.
Method Detail

getTransactionID

public String getTransactionID()
Return the transaction ID.
Returns:
The transaction ID.

getNodeID

public String getNodeID()
Return the node ID.
Returns:
The node ID.