From ece7d18cf35374bf4e26d041799cda8f791c89f8 Mon Sep 17 00:00:00 2001 From: gregor Date: Mon, 7 Jul 2003 10:58:37 +0000 Subject: Initial commit git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/trunk@2 d688527b-c9ab-4aba-bd8d-4036d912da1d --- .../moa/logging/LoggingContextManager.html | 262 +++++++++++++++++++++ 1 file changed, 262 insertions(+) create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContextManager.html (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContextManager.html') diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContextManager.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContextManager.html new file mode 100644 index 000000000..7a4992b03 --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContextManager.html @@ -0,0 +1,262 @@ + + + + + + +MOA SP/SS Server Internal API: Class LoggingContextManager + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +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
+
+
+ +

+ + + + + + + + + + + + + + + + + +
+Constructor Summary
+protected LoggingContextManager() + +
+          Creates a new LoggingContextManager. + +
+  + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static LoggingContextManagergetInstance() + +
+          Get the single instance of the LoggingContextManager class.
+ LoggingContextgetLoggingContext() + +
+          Return the LoggingContext for the current thread.
+ voidsetLoggingContext(LoggingContext ctx) + +
+          Set the LoggingContext context for the current thread.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

+ + + + + + + + + + + +
+Constructor Detail
+ +

+LoggingContextManager

+
+protected LoggingContextManager()
+
+
Creates a new LoggingContextManager. + + Protected to disallow direct instantiation.
+ + + + + + + + +
+Method Detail
+ +

+getInstance

+
+public static LoggingContextManager getInstance()
+
+
Get the single instance of the LoggingContextManager class.
+
Returns:
LoggingContextManager The single instance.
+
+
+
+ +

+setLoggingContext

+
+public void setLoggingContext(LoggingContext ctx)
+
+
Set the LoggingContext context for the current thread.
+
Parameters:
ctx - The LoggingContext for the current thread.
+
+
+
+ +

+getLoggingContext

+
+public LoggingContext getLoggingContext()
+
+
Return the LoggingContext for the current thread.
+
Returns:
LoggingContext The LoggingContext for the current + thread, or null if none has been set.
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + -- cgit v1.2.3