org.apache.avalon.excalibur.logger.factory
Class AbstractTargetFactory

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.avalon.excalibur.logger.factory.AbstractTargetFactory
All Implemented Interfaces:
LogTargetFactory, Configurable, Contextualizable, LogEnabled
Direct Known Subclasses:
AsyncLogTargetFactory, ConsoleTargetFactory, DatagramTargetFactory, FileTargetFactory, PriorityFilterTargetFactory, ServletTargetFactory, SMTPTargetFactory, SocketTargetFactory, StreamTargetFactory

public abstract class AbstractTargetFactory
extends AbstractLogEnabled
implements LogTargetFactory, Configurable, 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  Configuration m_configuration
          The Configuration object
protected  Context m_context
          The Context object
 
Constructor Summary
AbstractTargetFactory()
           
 
Method Summary
 void configure(Configuration configuration)
          Get the Configuration object
 void contextualize(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
 
Methods inherited from interface org.apache.avalon.excalibur.logger.LogTargetFactory
createTarget
 

Field Detail

m_configuration

protected Configuration m_configuration
The Configuration object


m_context

protected Context m_context
The Context object

Constructor Detail

AbstractTargetFactory

public AbstractTargetFactory()
Method Detail

configure

public void configure(Configuration configuration)
               throws ConfigurationException
Get the Configuration object

Specified by:
configure in interface Configurable
Throws:
ConfigurationException

contextualize

public void contextualize(Context context)
                   throws ContextException
Get the Context object

Specified by:
contextualize in interface Contextualizable
Throws:
ContextException


Copyright © 1997-2012 Apache Software Foundation. All Rights Reserved.