public interface ServiceManager extends IServiceManager
RWT.getServiceManager()
. Service handlers can also be registered in an
ApplicationConfiguration
.ServiceHandler
Modifier and Type | Method and Description |
---|---|
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.
|
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 registerjava.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
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