|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectch.systemsx.cisd.common.api.client.ServiceFinder
public class ServiceFinder
Helper to find a remote service exported by Spring's HttpInvoker.
Constructor Summary | |
---|---|
ServiceFinder(java.lang.String applicationName,
java.lang.String urlServiceSuffix)
Creates an instance for specified application name and URL service suffix. |
Method Summary | ||
---|---|---|
|
createService(java.lang.Class<S> serviceInterface,
java.lang.String serverUrl)
Creates a remote service implementing specified interface for specified server URL. |
|
|
createService(java.lang.Class<S> serviceInterface,
java.lang.String serverUrl,
IServicePinger<S> servicePinger)
Creates a remote service implementing specified interface for specified server URL by using specified pinger for checking server connection. |
|
|
createService(java.lang.Class<S> serviceInterface,
java.lang.String serverUrl,
IServicePinger<S> servicePinger,
long timeoutInMillis)
Creates a remote service implementing specified interface for specified server URL by using specified pinger for checking server connection. |
|
|
createService(java.lang.Class<S> serviceInterface,
java.lang.String serverUrl,
long timeoutInMillis)
Creates a remote service implementing specified interface for specified server URL. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ServiceFinder(java.lang.String applicationName, java.lang.String urlServiceSuffix)
applicationName
- Name of the Web application.urlServiceSuffix
- URL Suffix of the service.Method Detail |
---|
public <S extends IRpcService> S createService(java.lang.Class<S> serviceInterface, java.lang.String serverUrl)
public <S extends IRpcService> S createService(java.lang.Class<S> serviceInterface, java.lang.String serverUrl, long timeoutInMillis)
public <S> S createService(java.lang.Class<S> serviceInterface, java.lang.String serverUrl, IServicePinger<S> servicePinger)
public <S> S createService(java.lang.Class<S> serviceInterface, java.lang.String serverUrl, IServicePinger<S> servicePinger, long timeoutInMillis)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |