|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.avalon.logging.logkit.DefaultLoggingFactory
The DefaultLoggingFactory provides support for the establishment of a new logging system using LogKit as the implementation.
Constructor Summary | |
DefaultLoggingFactory(InitialContext context,
ClassLoader classloader)
Creation of a new default factory. |
Method Summary | |
Object |
create()
Creation of a new kernel using the default criteria. |
Object |
create(Map map)
Creation of a new logging manager using the supplied criteria. |
Map |
createDefaultCriteria()
Return of map containing the default parameters. |
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 DefaultLoggingFactory(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
- if an error occurs during root block establishmentpublic Object create(Map map) throws Exception
create
in interface Factory
map
- the parameters
Exception
- if an error occurs
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |