@ProviderType
public interface RequestHandlerRegistry
RequestHandlers identified by a specific id.| Modifier and Type | Method and Description |
|---|---|
void |
registerRequestHandler(java.lang.String id,
RequestHandler requestHandler)
Registers a
RequestHandler identified by the specified id. |
void |
unregister(java.lang.String id)
Unregisters the
RequestHandler identified by the specified id. |
void registerRequestHandler(java.lang.String id,
RequestHandler requestHandler)
throws KuraException
RequestHandler identified by the specified id. Once registered, the
RequestHandler instance can be notified for request messages targeting the registered idid - a String identifying a specific RequestHandlerrequestHandler - a RequestHandler instance identified by the specified idKuraExceptionvoid unregister(java.lang.String id)
throws KuraException
RequestHandler identified by the specified id. From that moment on, no
notifications will be sent to the unregistered id - a String identifying a specific RequestHandlerKuraException