public interface HandlerFactory
Modifier and Type | Method and Description |
---|---|
Handler |
createHandler(java.lang.String hn,
java.lang.String handlertype)
It retrieves a new instance of an handler which the type is specified
by the parameter.
|
Handler |
getHandler(java.lang.String handlername)
It retrieves the handler which the name is specified by the parameter
|
Handler[] |
getHandlers()
It retrieves all handler managed by this factory.
|
Handler |
removeHandler(java.lang.String handlername)
It removes the handler which the name is specified by the parameter
|
Handler createHandler(java.lang.String hn, java.lang.String handlertype)
handlertype
- is the type of the parameter. The possible value are
defined in this interface by the XXX_HANDLER_TYPE constants.Handler[] getHandlers()
Handler getHandler(java.lang.String handlername)
handlername
- is the name of the handlerHandler removeHandler(java.lang.String handlername)
handlername
- is the name of the handler