org.apache.avalon.excalibur.logger.factory
Class AbstractTargetFactory
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.avalon.excalibur.logger.factory.AbstractTargetFactory
- All Implemented Interfaces:
- LogTargetFactory, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable, org.apache.avalon.framework.logger.LogEnabled
- Direct Known Subclasses:
- AsyncLogTargetFactory, ConsoleTargetFactory, DatagramTargetFactory, FileTargetFactory, PriorityFilterTargetFactory, ServletTargetFactory, SMTPTargetFactory, SocketTargetFactory, StreamTargetFactory
public abstract class AbstractTargetFactory
- extends org.apache.avalon.framework.logger.AbstractLogEnabled
- implements LogTargetFactory, org.apache.avalon.framework.configuration.Configurable, org.apache.avalon.framework.context.Contextualizable
AbstractTargetFactory class.
This factory implements basic functionality for LogTargetFactories
- Since:
- 4.0
- Version:
- CVS $Revision: 1.8 $ $Date: 2004/03/10 13:54:50 $
- Author:
- Avalon Development Team
Field Summary |
protected org.apache.avalon.framework.configuration.Configuration |
m_configuration
The Configuration object |
protected org.apache.avalon.framework.context.Context |
m_context
The Context object |
Method Summary |
void |
configure(org.apache.avalon.framework.configuration.Configuration configuration)
Get the Configuration object |
void |
contextualize(org.apache.avalon.framework.context.Context context)
Get the Context object |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_configuration
protected org.apache.avalon.framework.configuration.Configuration m_configuration
- The Configuration object
m_context
protected org.apache.avalon.framework.context.Context m_context
- The Context object
AbstractTargetFactory
public AbstractTargetFactory()
configure
public void configure(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Get the Configuration object
- Specified by:
configure
in interface org.apache.avalon.framework.configuration.Configurable
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
contextualize
public void contextualize(org.apache.avalon.framework.context.Context context)
throws org.apache.avalon.framework.context.ContextException
- Get the Context object
- Specified by:
contextualize
in interface org.apache.avalon.framework.context.Contextualizable
- Throws:
org.apache.avalon.framework.context.ContextException
Copyright © 1997-2010 Apache Software Foundation. All Rights Reserved.