|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServiceHandlerProvider
Supports registration and lookup of service handlers.
Method Summary | |
---|---|
Object |
getServiceHandler(String name)
Return a previously registered service handler. |
Set<String> |
getServiceHandlerNames()
Get list of registered service handler names. |
void |
registerServiceHandler(String name,
Object handler)
Register an object that provides methods which can be called from a client. |
void |
unregisterServiceHandler(String name)
Unregister service handler. |
Method Detail |
---|
void registerServiceHandler(String name, Object handler)
Example:
If you registered a handler with the name "one.two
" that
provides a method "callMe
", you can call a method
"one.two.callMe
" from the client.
name
- the name of the handlerhandler
- the handler objectvoid unregisterServiceHandler(String name)
name
- the name of the handlerObject getServiceHandler(String name)
name
- the name of the handler to return
Set<String> getServiceHandlerNames()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |