com.ail.core.logging
Class SystemOutLoggerService

java.lang.Object
  extended by com.ail.core.Type
      extended by com.ail.core.Service
          extended by com.ail.core.logging.SystemOutLoggerService
All Implemented Interfaces:
ConfigurationOwner, CoreUser, java.io.Serializable, java.lang.Cloneable

public class SystemOutLoggerService
extends Service

This logging entry point directs log messages to the System print streams 'out' and 'err'. Messages are output to a 'out' and 'err' depending on their severity. DEBUG and INFO messages are written to 'out', WARNING, ERROR, and FATAL messages are written to 'err'.

Messages are written in the following form:

 owner:date:severity:effective date:message

Version:
$Revision: 1.4 $
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.ail.core.Type
jXPathContext, NOT_PERSISTED
 
Constructor Summary
SystemOutLoggerService()
           
 
Method Summary
 CommandArg getArgs()
          Getter returning the arguments used by this entry point.
 Core getCore()
          This entry point has no Core requirements, so simply return null.
 Version getVersion()
          Fetch the version of this entry point.
 void invoke()
          The 'business logic' of the entry point.
 void setArgs(CommandArg args)
          Setter used to the set the arguments that invoke() will use when it is called.
 
Methods inherited from class com.ail.core.Service
getConfiguration, getConfigurationNamespace, getSecurityPrincipal, getVersionEffectiveDate, resetConfiguration, setConfiguration
 
Methods inherited from class com.ail.core.Type
addAttribute, clone, deleteLock, deleteSerialVersion, fetchJXPathContext, getAttribute, getAttribute, getAttributeCount, getForeignSystemId, getLock, getSerialVersion, getSystemId, hasLock, hasSerialVersion, hasSystemId, isPersisted, markAsNotPersisted, mergeWithDataFrom, removeAttribute, removeAttribute, setAttribute, setForeignSystemId, setLock, setSerialVersion, setSystemId, xpathGet, xpathGet, xpathIterate, xpathSet
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemOutLoggerService

public SystemOutLoggerService()
Method Detail

getVersion

public Version getVersion()
Fetch the version of this entry point.

Specified by:
getVersion in class Service
Returns:
A version object describing the version of this entry point.

getCore

public Core getCore()
This entry point has no Core requirements, so simply return null.

Specified by:
getCore in class Service
Returns:
null

setArgs

public void setArgs(CommandArg args)
Setter used to the set the arguments that invoke() will use when it is called.

Specified by:
setArgs in class Service
Parameters:
args - for invoke

getArgs

public CommandArg getArgs()
Getter returning the arguments used by this entry point. This entry point doesn't modify the arguments.

Specified by:
getArgs in class Service
Returns:
An instance of LoggerArgs.

invoke

public void invoke()
The 'business logic' of the entry point.

Specified by:
invoke in class Service