| org.objectweb.util.monolog.api.HandlerFactory
HandlerFactory | public interface HandlerFactory (Code) | | It permits to manage Handler instances.
author: Sebastien Chassande-Barrioz |
createHandler | Handler createHandler(String hn, String handlertype)(Code) | | It retrieves a new instance of an handler which the type is specified
by the parameter.
Parameters: handlertype - is the type of the parameter. The possible value aredefined in this interface by the XXX_HANDLER_TYPE constants. a new instance of an handler |
getHandler | Handler getHandler(String handlername)(Code) | | It retrieves the handler which the name is specified by the parameter
Parameters: handlername - is the name of the handler an handler instance or a null value. |
getHandlers | Handler[] getHandlers()(Code) | | It retrieves all handler managed by this factory.
a set of Handler instance or an empty set. |
removeHandler | Handler removeHandler(String handlername)(Code) | | It removes the handler which the name is specified by the parameter
Parameters: handlername - is the name of the handler the removed handler instance or a null value if it does notexist. |
|
|