org.apache.avalon.logging.logkit.factory
Class PluginTargetFactory
java.lang.Object
org.apache.avalon.logging.logkit.factory.PluginTargetFactory
- All Implemented Interfaces:
- LogTargetFactory
- public class PluginTargetFactory
- extends Object
- implements LogTargetFactory
A log target factory that establishes log targets based on a
artifact reference.
- Version:
- $Revision: 1.3 $ $Date: 2004/03/08 11:32:01 $
- Author:
- Avalon Development Team
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluginTargetFactory
public PluginTargetFactory(ClassLoader classloader,
InitialContext context,
LogTargetFactoryBuilder builder)
createTarget
public LogTarget createTarget(Configuration config)
throws LogTargetException
- Create a LogTarget based on a supplied configuration
- Specified by:
createTarget
in interface LogTargetFactory
- Parameters:
config
- the target coonfiguration
- Returns:
- the log target
- Throws:
LogTargetException
Copyright © The Apache Software Foundation. All Rights Reserved.