|
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 IServiceManagerid - 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 idServiceHandlervoid unregisterServiceHandler(java.lang.String id)
unregisterServiceHandler in interface IServiceManagerid - the id of the service handler to removeServiceHandlerjava.lang.String getServiceHandlerUrl(java.lang.String id)
"&key=value...".
getServiceHandlerUrl in interface IServiceManagerid - 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, 2014. All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0