@ProviderType
public interface RequestHandlerRegistry
RequestHandler
s 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 id
id
- a String identifying a specific RequestHandler
requestHandler
- a RequestHandler
instance identified by the specified id
KuraException
void 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 RequestHandler
KuraException