Class RemoteServiceClientRegistry
java.lang.Object
org.eclipse.ecf.remoteservice.client.RemoteServiceClientRegistry
- All Implemented Interfaces:
Serializable
A remote service registry for client remote services.
- Since:
- 4.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfindServiceReference
(IRemoteServiceID serviceID) getAllRemoteServiceReferences
(String clazz, IRemoteFilter remoteFilter) String[]
getClazzes
(IRemoteServiceReference reference) long
getRemoteServiceID
(ID containerID, long containerRelativeID) getRemoteServiceReferences
(ID[] idFilter, String clazz, IRemoteFilter remoteFilter) getRemoteServiceReferences
(ID target, String clazz, IRemoteFilter remoteFilter) getRemoteServiceReferences
(ID target, ID[] idFilter, String clazz, IRemoteFilter filter) void
registerRegistration
(RemoteServiceClientRegistration registration) void
unregisterRegistration
(RemoteServiceClientRegistration registration)
-
Constructor Details
-
RemoteServiceClientRegistry
-
-
Method Details
-
getNextServiceId
public long getNextServiceId() -
getContainerId
-
registerRegistration
-
unregisterRegistration
-
findServiceReference
-
findServiceRegistration
public RemoteServiceClientRegistration findServiceRegistration(RemoteServiceClientReference reference) -
getRemoteServiceReferences
public IRemoteServiceReference[] getRemoteServiceReferences(ID target, String clazz, IRemoteFilter remoteFilter) throws ContainerConnectException - Throws:
ContainerConnectException
-
getRemoteServiceReferences
public IRemoteServiceReference[] getRemoteServiceReferences(ID target, ID[] idFilter, String clazz, IRemoteFilter filter) throws ContainerConnectException - Parameters:
target
- targetidFilter
- id filterclazz
- the interface class to use for lookupfilter
- a remote service filter to use to look for remote service references- Returns:
- IRemoteServiceReference[] remote service references matching the given input params
- Throws:
ContainerConnectException
- if container cannot be connected- Since:
- 5.0
-
getRemoteServiceReferences
public IRemoteServiceReference[] getRemoteServiceReferences(ID[] idFilter, String clazz, IRemoteFilter remoteFilter) -
getRemoteServiceID
-
getClazzes
-
getAllRemoteServiceReferences
public IRemoteServiceReference[] getAllRemoteServiceReferences(String clazz, IRemoteFilter remoteFilter)
-