| |
|
| java.lang.Object org.openharmonise.rm.logging.EventLogController
EventLogController | public class EventLogController implements EventLogger(Code) | | Controls the logging of events within the Harmonise framework. There are two
available implementations of EventLogger which can be used
and this class controls which is used in a particular deployment based
on the configuration property 'LOG_OUTPUT', which can take a value of
either 'XML' or 'DB'. This class provides a single point of access for
the core classes of the framework to log events with.
author: Michael Bell version: $Revision: 1.2 $ |
LOGTYPE_DB | final public static String LOGTYPE_DB(Code) | | Database logging constant. Value for the PNAME_LOG_OUTPUT
configuration parameter which specifies that events should be logged
to the database
|
LOGTYPE_XML | final public static String LOGTYPE_XML(Code) | | XML logging constant. Value for the PNAME_LOG_OUTPUT
configuration parameter which specifies that events should be logged
to an XML file
|
EventLogController | protected EventLogController() throws LogException(Code) | | Creates a new instance of a event log controller
|
getInstance | public static EventLogController getInstance() throws LogException(Code) | | Returns the singleton instance of the event log controller
the singleton instance of the event log controller |
reset | public static void reset()(Code) | | Resets cached singleton instance to null such that it can be
reconstructed using configuration settings.
|
|
|
|