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

java.lang.Object
  extended byorg.apache.pluto.portalImpl.services.Service
      extended byorg.apache.pluto.portalImpl.services.log.LogService
          extended byorg.apache.pluto.portalImpl.services.log.StandardOutLogService
All Implemented Interfaces:
org.apache.pluto.services.ContainerService, org.apache.pluto.services.log.LogService

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.


Method Summary
static LogService getInstance()
           
 org.apache.pluto.services.log.Logger getLogger(java.lang.Class klass)
           
 org.apache.pluto.services.log.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
 

Method Detail

getInstance

public static LogService getInstance()

getLogger

public org.apache.pluto.services.log.Logger getLogger(java.lang.String aComponent)

getLogger

public org.apache.pluto.services.log.Logger getLogger(java.lang.Class klass)


Copyright © 2003-2005 . All Rights Reserved.