|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.logging.log4j.Log4JLoggingFactory
A Log4J factory.
Constructor Summary | |
Log4JLoggingFactory(InitialContext context,
ClassLoader classloader)
Creation of a new default factory. |
Method Summary | |
Object |
create()
Create a new instance of an application. |
Object |
create(Map criteriaMap)
Create a new instance of an application. |
Map |
createDefaultCriteria()
Return a new instance of default criteria for the factory. |
LoggingCriteria |
createDefaultLoggingCriteria()
Return of map containing the default parameters. |
LoggingManager |
createLoggingManager(LoggingCriteria criteria)
Create a new LoggingManager using the supplied logging criteria. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Log4JLoggingFactory(InitialContext context, ClassLoader classloader)
context
- the repository inital contextclassloader
- the factory classloaderMethod Detail |
public LoggingCriteria createDefaultLoggingCriteria()
createDefaultLoggingCriteria
in interface LoggingFactory
public LoggingManager createLoggingManager(LoggingCriteria criteria) throws LoggingException
createLoggingManager
in interface LoggingFactory
criteria
- the logging system factory criteria
LoggingException
- is a logging system creation error occurspublic Map createDefaultCriteria()
createDefaultCriteria
in interface Factory
public Object create() throws Exception
create
in interface Factory
Exception
public Object create(Map criteriaMap) throws Exception
create
in interface Factory
criteriaMap
- the creation criteria
Exception
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |