|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.avalon.framework.logger.AbstractLogEnabled org.apache.avalon.excalibur.logger.DefaultLogTargetFactoryManager
Default LogTargetFactoryManager implementation. It populates the LogTargetFactoryManager from a configuration file.
Constructor Summary | |
DefaultLogTargetFactoryManager()
|
Method Summary | |
void |
configure(Configuration configuration)
Reads a configuration object and creates the category mapping. |
void |
contextualize(Context context)
Reads a context object. |
LogTargetFactory |
getLogTargetFactory(java.lang.String factoryName)
Retrieves a LogTargetFactory from a name. |
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 |
Constructor Detail |
public DefaultLogTargetFactoryManager()
Method Detail |
public final LogTargetFactory getLogTargetFactory(java.lang.String factoryName)
getLogTargetFactory
in interface LogTargetFactoryManager
factoryName
- The name of a configured LogTargetFactory.
public final void contextualize(Context context)
contextualize
in interface Contextualizable
context
- The context object.public final void configure(Configuration configuration) throws ConfigurationException
configure
in interface Configurable
configuration
- The configuration object.
ConfigurationException
- if the configuration is malformed
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |