|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface HandlerFactory
It permits to manage Handler instances.
Method Summary | |
---|---|
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 |
Method Detail |
---|
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 handler
Handler removeHandler(java.lang.String handlername)
handlername
- is the name of the handler
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |