|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ServiceManager
The service manager is used to register service handlers with the framework. An instance can be
obtained from RWT.getServiceManager()
. Service handlers can also be registered in an
ApplicationConfiguration
.
ServiceHandler
Method Summary | |
---|---|
java.lang.String |
getServiceHandlerUrl(java.lang.String id)
Returns the URL to access a service handler. |
void |
registerServiceHandler(java.lang.String id,
ServiceHandler serviceHandler)
Registers a new service handler with the given unique id. |
void |
unregisterServiceHandler(java.lang.String id)
Unregisters the service handler with the given id. |
Method Detail |
---|
void registerServiceHandler(java.lang.String id, ServiceHandler serviceHandler)
getServiceHandlerUrl(String)
.
registerServiceHandler
in interface IServiceManager
id
- the id to register this service handler withserviceHandler
- the service handler to register
java.lang.IllegalArgumentException
- if a service handler is already registered with the given idServiceHandler
void unregisterServiceHandler(java.lang.String id)
unregisterServiceHandler
in interface IServiceManager
id
- the id of the service handler to removeServiceHandler
java.lang.String getServiceHandlerUrl(java.lang.String id)
"&key=value..."
.
getServiceHandlerUrl
in interface IServiceManager
id
- the id that the service handler has been registered with
|
Eclipse Remote Application Platform | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (c) EclipseSource and others 2002, 2012. All rights reserved.