org.codehaus.spice.loggerstore.factories
Class DOMLog4JLoggerStoreFactory

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

public class DOMLog4JLoggerStoreFactory
extends AbstractLoggerStoreFactory

DOMLog4JLoggerStoreFactory is an implementation of LoggerStoreFactory for the Log4J Logger using a DOM 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
DOMLog4JLoggerStoreFactory()
           
 
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

DOMLog4JLoggerStoreFactory

public DOMLog4JLoggerStoreFactory()
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.