Package org.eclipse.ecf.remoteservice
Interface IRemoteServiceRegistration
- 
- All Known Subinterfaces:
- IExtendedRemoteServiceRegistration
 - All Known Implementing Classes:
- AbstractRestClientContainer.RestRemoteServiceClientRegistration,- AbstractRSAClientContainer.RSAClientRegistration,- RemoteServiceClientRegistration,- RemoteServiceRegistrationImpl,- RemoteServiceRegistrationImpl,- RSARemoteServiceContainerAdapter.RSARemoteServiceRegistration
 
 public interface IRemoteServiceRegistrationRemote service registration. The remote service registration is returned to the caller when the IServiceContainer.registerService method is called. The registering bundle can then use the registration instance to unregister the service
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description ClassLoadergetClassLoader()IDgetContainerID()Get the container ID for the registrationIRemoteServiceIDgetID()Get the remote service ID for this registration.ObjectgetProperty(String key)Get property associated with given keyString[]getPropertyKeys()Get property keys for registered serviceIRemoteServiceReferencegetReference()Get reference for this registrationvoidsetProperties(Dictionary properties)Set the properties for the registered servicevoidunregister()Unregister this service
 
- 
- 
- 
Method Detail- 
getIDIRemoteServiceID getID() Get the remote service ID for this registration. Will not returnnull.- Returns:
- IRemoteServiceID the id for the remote service associated with this registration.
- Since:
- 3.0
 
 - 
getContainerIDID getContainerID() Get the container ID for the registration- Returns:
- ID of the local container. Will not be null.
 
 - 
getReferenceIRemoteServiceReference getReference() Get reference for this registration- Returns:
- IRemoteServiceReference for this registration. Will not be
         null.
 
 - 
setPropertiesvoid setProperties(Dictionary properties) Set the properties for the registered service- Parameters:
- properties- to set. Must not be- null.
 
 - 
getPropertyObject getProperty(String key) Get property associated with given key- Parameters:
- key- the key of the property. Must not be- null.
- Returns:
- Object the property value. nullif property not found.
 
 - 
getPropertyKeysString[] getPropertyKeys() Get property keys for registered service- Returns:
- String [] with property keys. Will not be null, but may be empty array.
 
 - 
unregistervoid unregister() Unregister this service
 - 
getClassLoaderClassLoader getClassLoader() - Since:
- 8.14
 
 
- 
 
-