at.gv.egovernment.moa.logging
Class  LoggingContextManager
java.lang.Object
  |
  +--at.gv.egovernment.moa.logging.LoggingContextManager
- public class LoggingContextManager- extends Object
Provides each thread with a single instance of LoggingContext.
- Version: 
- $Id$
- Author: 
- Patrick Peck
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
LoggingContextManager
protected LoggingContextManager()
- Creates a new LoggingContextManager.
 
 Protected to disallow direct instantiation.
getInstance
public static LoggingContextManager getInstance()
- Get the single instance of the LoggingContextManagerclass.
- 
- Returns:
- LoggingContextManager The single instance.
 
setLoggingContext
public void setLoggingContext(LoggingContext ctx)
- Set the LoggingContextcontext for the current thread.
- 
- Parameters:
- ctx- The- LoggingContextfor the current thread.
 
getLoggingContext
public LoggingContext getLoggingContext()
- Return the LoggingContextfor the current thread.
- 
- Returns:
- LoggingContext The LoggingContextfor the current
 thread, ornullif none has been set.