org.eclipse.ecf.provider.remoteservice.generic
Class RemoteServiceRegistryImpl
java.lang.Object
org.eclipse.ecf.provider.remoteservice.generic.RemoteServiceRegistryImpl
- All Implemented Interfaces:
- java.io.Serializable
public class RemoteServiceRegistryImpl
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
REMOTEOBJECTCLASS
protected static final java.lang.String REMOTEOBJECTCLASS
- See Also:
- Constant Field Values
REMOTESERVICE_ID
protected static final java.lang.String REMOTESERVICE_ID
- See Also:
- Constant Field Values
REMOTESERVICE_RANKING
protected static final java.lang.String REMOTESERVICE_RANKING
- See Also:
- Constant Field Values
publishedServicesByClass
protected java.util.HashMap publishedServicesByClass
- Published services by class name. Key is a String class name; Value is a
ArrayList of IRemoteServiceRegistrations
containerID
protected ID containerID
allPublishedServices
protected java.util.ArrayList allPublishedServices
- All published services
RemoteServiceRegistryImpl
public RemoteServiceRegistryImpl()
RemoteServiceRegistryImpl
public RemoteServiceRegistryImpl(ID localContainerID)
getNextServiceId
protected long getNextServiceId()
getContainerID
public ID getContainerID()
setContainerID
public void setContainerID(ID containerID)
- Since:
- 3.4
publishService
public void publishService(RemoteServiceRegistrationImpl serviceReg)
unpublishService
public void unpublishService(RemoteServiceRegistrationImpl serviceReg)
unpublishServices
public void unpublishServices()
lookupServiceReferences
public IRemoteServiceReference[] lookupServiceReferences(java.lang.String clazz,
IRemoteFilter filter)
lookupServiceReferences
public IRemoteServiceReference[] lookupServiceReferences()
getRegistrations
protected RemoteServiceRegistrationImpl[] getRegistrations()
findRegistrationForServiceId
protected RemoteServiceRegistrationImpl findRegistrationForServiceId(long serviceId)
findRegistrationForRemoteServiceId
protected RemoteServiceRegistrationImpl findRegistrationForRemoteServiceId(IRemoteServiceID remoteServiceID)
- Since:
- 3.0
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
createRemoteServiceID
public IRemoteServiceID createRemoteServiceID(long serviceid)
- Since:
- 3.0