org.codehaus.spice.loggerstore.factories
Class InitialLoggerStoreFactory
java.lang.Object
|
+--org.codehaus.spice.loggerstore.factories.InitialLoggerStoreFactory
- All Implemented Interfaces:
- LoggerStoreFactory
- public class InitialLoggerStoreFactory
- extends Object
- implements LoggerStoreFactory
This is the initial LoggerStoreFactory tyhat the user accesses to create
their LoggerStore when the type is configurable.
- Version:
- $Revision: 1.1 $ $Date: 2003/11/19 18:22:44 $
- Author:
- Peter Donald
, Mauro Talevi
Method Summary |
LoggerStore |
createLoggerStore(Map config)
Create LoggerStore by first determining the correct LoggerStoreFactory to
use and then delegating to that factory. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INITIAL_FACTORY
public static final String INITIAL_FACTORY
- The INITIAL_FACTORY key. Used to define the classname of the initial
LoggerStoreFactory. If not specified will attempt to use the
ConsoleLoggerStoreFactory.
- See Also:
- Constant Field Values
DEFAULT_PROPERTIES
public static final String DEFAULT_PROPERTIES
- The name of properties file loaded from ClassLoader. This property file
will be used to load default configuration settings if user failed to
specify them.
- See Also:
- Constant Field Values
InitialLoggerStoreFactory
public InitialLoggerStoreFactory()
createLoggerStore
public LoggerStore createLoggerStore(Map config)
throws Exception
- Create LoggerStore by first determining the correct LoggerStoreFactory to
use and then delegating to that factory. See Class Javadocs for the
process of locating LoggerStore.
- Specified by:
createLoggerStore
in interface LoggerStoreFactory
- Parameters:
config
- the input configuration
- Returns:
- the LoggerStore
- Throws:
Exception
- if unable to create the LoggerStore for any reason.
Copyright © 2003 Codehaus. All Rights Reserved.