org.jcomponent.loggerstore.factories
Class LogKitLoggerStoreFactory
java.lang.Object
org.jcontainer.dna.AbstractLogEnabled
org.jcomponent.loggerstore.factories.AbstractLoggerStoreFactory
org.jcomponent.loggerstore.factories.LogKitLoggerStoreFactory
- All Implemented Interfaces:
- LogEnabled, LoggerStoreFactory
- Direct Known Subclasses:
- ExcaliburLogKitLoggerStoreFactory, SimpleLogKitLoggerStoreFactory
- public class LogKitLoggerStoreFactory
- extends AbstractLoggerStoreFactory
LogKitLoggerStoreFactory is an implementation of LoggerStoreFactory
for the LogKit Logger.
- Version:
- $Revision: 1.4 $ $Date: 2003/11/10 19:26:10 $
- Author:
- Mauro Talevi, Peter Donald
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LOGGER_MANAGER
public static final String LOGGER_MANAGER
- The LOGGER_MANAGER key. Used to define the classname of the
LoggerManager to use in creating a LogKitLoggerStore when not specified in the
configuration map.
- See Also:
- Constant Field Values
LogKitLoggerStoreFactory
public LogKitLoggerStoreFactory()
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
getClassLoader
protected ClassLoader getClassLoader(Map data)
- Retrieve the classloader from data map. If no classloader is specified
then use ContextClassLoader. If ContextClassLoader not specified then
use ClassLoader that loaded this class.
- Parameters:
data
- the configuration data
- Returns:
- a ClassLoader
Copyright © 2003 The Spice Group. All Rights Reserved.