org.codehaus.spice.loggerstore.factories
Class PropertyLog4JLoggerStoreFactory

java.lang.Object
  |
  +--org.jcontainer.dna.AbstractLogEnabled
        |
        +--org.codehaus.spice.loggerstore.factories.AbstractLoggerStoreFactory
              |
              +--org.codehaus.spice.loggerstore.factories.PropertyLog4JLoggerStoreFactory
All Implemented Interfaces:
LogEnabled, LoggerStoreFactory

public class PropertyLog4JLoggerStoreFactory
extends AbstractLoggerStoreFactory

PropertyLog4JLoggerStoreFactory is an implementation of LoggerStoreFactory for the Log4J Logger using a property configuration resource.

Version:
$Revision: 1.1 $ $Date: 2003/11/19 18:22:44 $
Author:
Mauro Talevi
, Peter Donald

Field Summary
 
Fields inherited from interface org.codehaus.spice.loggerstore.LoggerStoreFactory
FILE_LOCATION, URL_LOCATION
 
Constructor Summary
PropertyLog4JLoggerStoreFactory()
           
 
Method Summary
protected  LoggerStore doCreateLoggerStore(Map config)
          Creates a LoggerStore from a given set of configuration parameters.
 
Methods inherited from class org.codehaus.spice.loggerstore.factories.AbstractLoggerStoreFactory
createLoggerStore, getInputStream, missingConfiguration
 
Methods inherited from class org.jcontainer.dna.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyLog4JLoggerStoreFactory

public PropertyLog4JLoggerStoreFactory()
Method Detail

doCreateLoggerStore

protected LoggerStore doCreateLoggerStore(Map config)
                                   throws Exception
Creates a LoggerStore from a given set of configuration parameters.

Specified by:
doCreateLoggerStore in class AbstractLoggerStoreFactory
Parameters:
config - the Map of parameters for the configuration of the store
Returns:
the LoggerStore
Throws:
Exception - if unable to create the LoggerStore


Copyright © 2003 Codehaus. All Rights Reserved.