org.apache.pluto.portalImpl.services.log
Class StandardOutLogService

java.lang.Object
  extended by org.apache.pluto.portalImpl.services.Service
      extended by org.apache.pluto.portalImpl.services.log.LogService
          extended by org.apache.pluto.portalImpl.services.log.StandardOutLogService

public class StandardOutLogService
extends LogService

Defines a LogService that may be used when one has not been registered with the ServiceManager. This is specifically usefull in cases, such as when the Deployer is run, in which no Service are registered. The StandardOutLogService is implemented as a Singleton since all log messages will be going to StandardOut no matter what! Since all behaivior will be identical, there's no reason to create multiple instances.


Field Summary
private static Logger logger
           
private static LogService service
           
 
Constructor Summary
private StandardOutLogService()
           
 
Method Summary
static LogService getInstance()
           
 Logger getLogger(java.lang.Class klass)
           
 Logger getLogger(java.lang.String aComponent)
           
 
Methods inherited from class org.apache.pluto.portalImpl.services.Service
destroy, destroy, init, init, init, postInit, postInit
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

private static Logger logger

service

private static LogService service
Constructor Detail

StandardOutLogService

private StandardOutLogService()
Method Detail

getInstance

public static LogService getInstance()

getLogger

public Logger getLogger(java.lang.String aComponent)

getLogger

public Logger getLogger(java.lang.Class klass)