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 --- .../at/gv/egovernment/moa/logging/LogMsg.html | 223 ++++++++++ .../at/gv/egovernment/moa/logging/Logger.html | 480 +++++++++++++++++++++ .../gv/egovernment/moa/logging/LoggingContext.html | 269 ++++++++++++ .../moa/logging/LoggingContextManager.html | 262 +++++++++++ .../egovernment/moa/logging/class-use/LogMsg.html | 95 ++++ .../egovernment/moa/logging/class-use/Logger.html | 95 ++++ .../moa/logging/class-use/LoggingContext.html | 147 +++++++ .../logging/class-use/LoggingContextManager.html | 131 ++++++ .../gv/egovernment/moa/logging/package-frame.html | 32 ++ .../egovernment/moa/logging/package-summary.html | 121 ++++++ .../gv/egovernment/moa/logging/package-tree.html | 104 +++++ .../at/gv/egovernment/moa/logging/package-use.html | 128 ++++++ 12 files changed, 2087 insertions(+) create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LogMsg.html create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/Logger.html create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContext.html create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContextManager.html create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LogMsg.html create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/Logger.html create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContext.html create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContextManager.html create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-frame.html create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-summary.html create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-tree.html create mode 100644 spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-use.html (limited to 'spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging') diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LogMsg.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LogMsg.html new file mode 100644 index 000000000..12c5849d7 --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LogMsg.html @@ -0,0 +1,223 @@ + + + + + + +MOA SP/SS Server Internal API: Class LogMsg + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +at.gv.egovernment.moa.logging +
+Class LogMsg

+
+java.lang.Object
+  |
+  +--at.gv.egovernment.moa.logging.LogMsg
+
+
+
+
public class LogMsg
extends Object
+ +

+A unified message type to log messages from inside the MOA subsystem. +

+

+
Version:
$Id$
+
Author:
Patrick Peck
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
LogMsg(Object message) + +
+          Create a LogMsg object.
+  + + + + + + + + + + + +
+Method Summary
+ StringtoString() + +
+          Convert this log message to a String.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
+  +

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

+LogMsg

+
+public LogMsg(Object message)
+
+
Create a LogMsg object.
+
Parameters:
message - The actual message to log. May be null.
+
+
+ + + + + + + + +
+Method Detail
+ +

+toString

+
+public String toString()
+
+
Convert this log message to a String.
+
Overrides:
toString in class Object
+
+
+
Returns:
The String representation of this log message.
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/Logger.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/Logger.html new file mode 100644 index 000000000..ae7d62cf7 --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/Logger.html @@ -0,0 +1,480 @@ + + + + + + +MOA SP/SS Server Internal API: Class Logger + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +at.gv.egovernment.moa.logging +
+Class Logger

+
+java.lang.Object
+  |
+  +--at.gv.egovernment.moa.logging.Logger
+
+
+
+
public class Logger
extends Object
+ +

+A utility class acting as a facade to the logging subsystem. + + Configure the logging defaultHierarchy that the Logger uses by + calling setHierarchy once before calling any of the logging + output functions. +

+

+
Version:
$Id$
+
Author:
Patrick Peck
+
+
+ +

+ + + + + + + + + + + + + + + + +
+Constructor Summary
Logger() + +
+           
+  + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+Method Summary
+static voiddebug(Object message) + +
+          Log a debug message.
+static voiderror(Object message) + +
+          Log an error message.
+static voiderror(Object message, + Throwable t) + +
+          Log an error message.
+static voidfatal(Object message) + +
+          Log a fatal error message.
+static voidfatal(Object message, + Throwable t) + +
+          Log a fatal error message.
+static voidinfo(Object message) + +
+          Log an info message.
+static booleanisDebugEnabled() + +
+          Test, if the debug log level is enabled.
+static booleanisDebugEnabled(String hierarchy) + +
+          Test, if the debug log level is enabled for a given hierarchy.
+static booleanisTraceEnabled() + +
+          Test, if the trace log level is enabled.
+static booleanisTraceEnabled(String hierarchy) + +
+          Test, if the trace log level is enabled for a given hierarchy.
+static voidsetHierarchy(String hierarchy) + +
+          Set the default hierarchy to which the Logger should send its + logging output.
+static voidtrace(Object message) + +
+          Trace a message.
+static voidwarn(Object message) + +
+          Log a warning message.
+static voidwarn(Object message, + Throwable t) + +
+          Log a warning message.
+ + + + + + + +
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
+  +

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

+Logger

+
+public Logger()
+
+
+ + + + + + + + +
+Method Detail
+ +

+setHierarchy

+
+public static void setHierarchy(String hierarchy)
+
+
Set the default hierarchy to which the Logger should send its + logging output.
+
Parameters:
hierarchy - The logging defaultHierarchy.
+
+
+
+ +

+isTraceEnabled

+
+public static boolean isTraceEnabled()
+
+
Test, if the trace log level is enabled.
+
Returns:
boolean true, if tracing output is enabled + false otherwise.
+
+
+
+ +

+isTraceEnabled

+
+public static boolean isTraceEnabled(String hierarchy)
+
+
Test, if the trace log level is enabled for a given hierarchy.
+
Parameters:
hierarchy - requested log hierarchy
Returns:
boolean true, if tracing output is enabled + false otherwise.
+
+
+
+ +

+trace

+
+public static void trace(Object message)
+
+
Trace a message.
+
Parameters:
message - The message to trace.
+
+
+
+ +

+isDebugEnabled

+
+public static boolean isDebugEnabled()
+
+
Test, if the debug log level is enabled.
+
Returns:
boolean true, if debug output is enabled + false otherwise.
+
+
+
+ +

+isDebugEnabled

+
+public static boolean isDebugEnabled(String hierarchy)
+
+
Test, if the debug log level is enabled for a given hierarchy.
+
Parameters:
hierarchy - requested log hierarchy
Returns:
boolean true, if debug output is enabled + false otherwise.
+
+
+
+ +

+debug

+
+public static void debug(Object message)
+
+
Log a debug message.
+
Parameters:
message - The message to log.
+
+
+
+ +

+info

+
+public static void info(Object message)
+
+
Log an info message.
+
Parameters:
message - The message to log.
+
+
+
+ +

+warn

+
+public static void warn(Object message)
+
+
Log a warning message.
+
Parameters:
message - The message to log.
+
+
+
+ +

+warn

+
+public static void warn(Object message,
+                        Throwable t)
+
+
Log a warning message.
+
Parameters:
message - The message to log.
t - An exception that may be the cause of the warning.
+
+
+
+ +

+error

+
+public static void error(Object message)
+
+
Log an error message.
+
Parameters:
message - The message to log.
+
+
+
+ +

+error

+
+public static void error(Object message,
+                         Throwable t)
+
+
Log an error message.
+
Parameters:
message - The message to log.
t - An exception that may be the cause of the error.
+
+
+
+ +

+fatal

+
+public static void fatal(Object message)
+
+
Log a fatal error message.
+
Parameters:
message - The message to log.
+
+
+
+ +

+fatal

+
+public static void fatal(Object message,
+                         Throwable t)
+
+
Log a fatal error message.
+
Parameters:
message - The message to log.
t - An exception that may be the cause of the error.
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContext.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContext.html new file mode 100644 index 000000000..9590d5fae --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/LoggingContext.html @@ -0,0 +1,269 @@ + + + + + + +MOA SP/SS Server Internal API: Class LoggingContext + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + +
+ +

+ +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 StringNODE_ID_PROPERTY + +
+          The name of the node ID system property.
+  + + + + + + + + + + +
+Constructor Summary
LoggingContext(String transactionID) + +
+          Create a new LoggingContext.
+  + + + + + + + + + + + + + + + +
+Method Summary
+ StringgetNodeID() + +
+          Return the node ID.
+ StringgetTransactionID() + +
+          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.
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + 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.
+
+
+ +
+ + + + + + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LogMsg.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LogMsg.html new file mode 100644 index 000000000..4cbd90edd --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LogMsg.html @@ -0,0 +1,95 @@ + + + + + + +MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.logging.LogMsg + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+

+Uses of Class
at.gv.egovernment.moa.logging.LogMsg

+
+No usage of at.gv.egovernment.moa.logging.LogMsg +

+


+ + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/Logger.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/Logger.html new file mode 100644 index 000000000..c7da8e1ee --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/Logger.html @@ -0,0 +1,95 @@ + + + + + + +MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.logging.Logger + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+

+Uses of Class
at.gv.egovernment.moa.logging.Logger

+
+No usage of at.gv.egovernment.moa.logging.Logger +

+


+ + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContext.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContext.html new file mode 100644 index 000000000..21b8d7eda --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContext.html @@ -0,0 +1,147 @@ + + + + + + +MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.logging.LoggingContext + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+

+Uses of Class
at.gv.egovernment.moa.logging.LoggingContext

+
+ + + + + + + + + +
+Packages that use LoggingContext
at.gv.egovernment.moa.logging  
+  +

+ + + + + +
+Uses of LoggingContext in at.gv.egovernment.moa.logging
+  +

+ + + + + + + + + +
Methods in at.gv.egovernment.moa.logging that return LoggingContext
+ LoggingContextLoggingContextManager.getLoggingContext() + +
+          Return the LoggingContext for the current thread.
+  +

+ + + + + + + + + +
Methods in at.gv.egovernment.moa.logging with parameters of type LoggingContext
+ voidLoggingContextManager.setLoggingContext(LoggingContext ctx) + +
+          Set the LoggingContext context for the current thread.
+  +

+


+ + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContextManager.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContextManager.html new file mode 100644 index 000000000..571a97a98 --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/class-use/LoggingContextManager.html @@ -0,0 +1,131 @@ + + + + + + +MOA SP/SS Server Internal API: Uses of Class at.gv.egovernment.moa.logging.LoggingContextManager + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+

+Uses of Class
at.gv.egovernment.moa.logging.LoggingContextManager

+
+ + + + + + + + + +
+Packages that use LoggingContextManager
at.gv.egovernment.moa.logging  
+  +

+ + + + + +
+Uses of LoggingContextManager in at.gv.egovernment.moa.logging
+  +

+ + + + + + + + + +
Methods in at.gv.egovernment.moa.logging that return LoggingContextManager
+static LoggingContextManagerLoggingContextManager.getInstance() + +
+          Get the single instance of the LoggingContextManager class.
+  +

+


+ + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-frame.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-frame.html new file mode 100644 index 000000000..cca50930b --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-frame.html @@ -0,0 +1,32 @@ + + + + + + +MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.logging + + + + + +at.gv.egovernment.moa.logging + + + + +
+Classes  + +
+Logger +
+LoggingContext +
+LoggingContextManager +
+LogMsg
+ + + + diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-summary.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-summary.html new file mode 100644 index 000000000..d3814f536 --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-summary.html @@ -0,0 +1,121 @@ + + + + + + +MOA SP/SS Server Internal API: Package at.gv.egovernment.moa.logging + + + + + + + + + + + + + + + + + +
+ +
+ + +
+

+Package at.gv.egovernment.moa.logging +

+ + + + + + + + + + + + + + + + + + + + + +
+Class Summary
LoggerA utility class acting as a facade to the logging subsystem. + +
LoggingContextEncapsulates contextual information (i.e. per request information) for + logging purposes.
LoggingContextManagerProvides each thread with a single instance of LoggingContext.
LogMsgA unified message type to log messages from inside the MOA subsystem.
+  + +

+


+ + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-tree.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-tree.html new file mode 100644 index 000000000..1c0c68235 --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-tree.html @@ -0,0 +1,104 @@ + + + + + + +MOA SP/SS Server Internal API: at.gv.egovernment.moa.logging Class Hierarchy + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+

+Hierarchy For Package at.gv.egovernment.moa.logging +

+
+
+
Package Hierarchies:
All Packages
+
+

+Class Hierarchy +

+ +
+ + + + + + + + + + + + + +
+ +
+ + +
+ + + diff --git a/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-use.html b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-use.html new file mode 100644 index 000000000..3e7151f00 --- /dev/null +++ b/spss.server/doc/api-doc-internal/at/gv/egovernment/moa/logging/package-use.html @@ -0,0 +1,128 @@ + + + + + + +MOA SP/SS Server Internal API: Uses of Package at.gv.egovernment.moa.logging + + + + + + + + + + + + + + + + + +
+ +
+ + +
+
+

+Uses of Package
at.gv.egovernment.moa.logging

+
+ + + + + + + + + +
+Packages that use at.gv.egovernment.moa.logging
at.gv.egovernment.moa.logging  
+  +

+ + + + + + + + + + + +
+Classes in at.gv.egovernment.moa.logging used by at.gv.egovernment.moa.logging
LoggingContext + +
+          Encapsulates contextual information (i.e. per request information) for + logging purposes.
LoggingContextManager + +
+          Provides each thread with a single instance of LoggingContext.
+  +

+


+ + + + + + + + + + + + + +
+ +
+ + +
+ + + -- cgit v1.2.3