org.eclipse.ecf.remoteservice.client
Class RemoteServiceClientRegistry

java.lang.Object
  extended by org.eclipse.ecf.remoteservice.client.RemoteServiceClientRegistry
All Implemented Interfaces:
java.io.Serializable

public class RemoteServiceClientRegistry
extends java.lang.Object
implements java.io.Serializable

A remote service registry for client remote services.

Since:
4.0
See Also:
Serialized Form

Constructor Summary
RemoteServiceClientRegistry(AbstractClientContainer container)
           
 
Method Summary
 IRemoteServiceReference findServiceReference(IRemoteServiceID serviceID)
           
 RemoteServiceClientRegistration findServiceRegistration(RemoteServiceClientReference reference)
           
 IRemoteServiceReference[] getAllRemoteServiceReferences(java.lang.String clazz, IRemoteFilter remoteFilter)
           
 java.lang.String[] getClazzes(IRemoteServiceReference reference)
           
 ID getContainerId()
           
 long getNextServiceId()
           
 IRemoteServiceID getRemoteServiceID(ID containerID, long containerRelativeID)
           
 IRemoteServiceReference[] getRemoteServiceReferences(ID[] idFilter, java.lang.String clazz, IRemoteFilter remoteFilter)
           
 IRemoteServiceReference[] getRemoteServiceReferences(ID target, ID[] idFilter, java.lang.String clazz, IRemoteFilter filter)
           
 IRemoteServiceReference[] getRemoteServiceReferences(ID target, java.lang.String clazz, IRemoteFilter remoteFilter)
           
 void registerRegistration(RemoteServiceClientRegistration registration)
           
 void unregisterRegistration(RemoteServiceClientRegistration registration)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteServiceClientRegistry

public RemoteServiceClientRegistry(AbstractClientContainer container)
Method Detail

getNextServiceId

public long getNextServiceId()

getContainerId

public ID getContainerId()

registerRegistration

public void registerRegistration(RemoteServiceClientRegistration registration)

unregisterRegistration

public void unregisterRegistration(RemoteServiceClientRegistration registration)

findServiceReference

public IRemoteServiceReference findServiceReference(IRemoteServiceID serviceID)

findServiceRegistration

public RemoteServiceClientRegistration findServiceRegistration(RemoteServiceClientReference reference)

getRemoteServiceReferences

public IRemoteServiceReference[] getRemoteServiceReferences(ID target,
                                                            java.lang.String clazz,
                                                            IRemoteFilter remoteFilter)
                                                     throws ContainerConnectException
Throws:
ContainerConnectException

getRemoteServiceReferences

public IRemoteServiceReference[] getRemoteServiceReferences(ID target,
                                                            ID[] idFilter,
                                                            java.lang.String clazz,
                                                            IRemoteFilter filter)
                                                     throws ContainerConnectException
Throws:
ContainerConnectException
Since:
5.0

getRemoteServiceReferences

public IRemoteServiceReference[] getRemoteServiceReferences(ID[] idFilter,
                                                            java.lang.String clazz,
                                                            IRemoteFilter remoteFilter)

getRemoteServiceID

public IRemoteServiceID getRemoteServiceID(ID containerID,
                                           long containerRelativeID)

getClazzes

public java.lang.String[] getClazzes(IRemoteServiceReference reference)

getAllRemoteServiceReferences

public IRemoteServiceReference[] getAllRemoteServiceReferences(java.lang.String clazz,
                                                               IRemoteFilter remoteFilter)