| java.lang.Object org.openharmonise.rm.logging.AbstractEventLogger
All known Subclasses: org.openharmonise.rm.logging.DBEventLogger, org.openharmonise.rm.logging.XMLEventLogger,
AbstractEventLogger | abstract public class AbstractEventLogger implements EventLogger(Code) | | This class provides the base functionality, and specifies the interface,
for storing logging events in a repository.
author: Michael Bell version: $Revision: 1.2 $ |
Method Summary | |
public void | logEvent(LogEvent event) | abstract protected void | saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, Map headers) Saves event data to a repository. | abstract protected void | saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, String sAdditional) Saves event data to a repository. |
AbstractEventLogger | public AbstractEventLogger()(Code) | | Constructs an AbstractEventLogger .
|
saveData | abstract protected void saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, Map headers) throws LogException(Code) | | Saves event data to a repository.
Parameters: nUserId - the user identifier Parameters: sSessionId - the session identifier Parameters: nObjectId - the object identifier Parameters: sObjectType - the object type/class name Parameters: sAction - the event description Parameters: timestamp - the timestamp of the event Parameters: sIP - the IP address of the user agent which initiated the event Parameters: headers - the header data associated with the remote request which initiated this event throws: LogException - if an error occurs saving the data |
saveData | abstract protected void saveData(int nUserId, String sSessionId, int nObjectId, String sObjectType, String sAction, Date timestamp, String sIP, String sAdditional) throws LogException(Code) | | Saves event data to a repository.
Parameters: nUserId - the user identifier Parameters: sSessionId - the session identifier Parameters: nObjectId - the object identifier Parameters: sObjectType - the object type/class name Parameters: sAction - the event description Parameters: timestamp - the timestamp of the event Parameters: sIP - the IP address of the user agent which initiated the event Parameters: sAdditional - additional data to be stored with event throws: LogException - if an error occurs saving the data |
|
|