Package org.eclipse.ecf.remoteservice
Interface IRemoteServiceReference
- 
- All Known Implementing Classes:
- RemoteServiceClientReference,- RemoteServiceReferenceImpl,- RemoteServiceReferenceImpl
 
 public interface IRemoteServiceReferenceRemote service reference. Instances implementing this interface are returned from the IRemoteServiceContainerAdapter.getRemoteServiceReferences call. Once retrieved, such references can be resolved to an IRemoteService via calls to IRemoteServiceContainerAdapter.getRemoteService(reference)- See Also:
- IRemoteServiceContainerAdapter
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description IDgetContainerID()Get container ID for remote serviceIRemoteServiceIDgetID()Get the remote service ID for this reference.ObjectgetProperty(String key)Get given property for remote serviceString[]getPropertyKeys()Get all property keys for remote servicebooleanisActive()Return true if reference is active, false otherwise
 
- 
- 
- 
Method Detail- 
getIDIRemoteServiceID getID() Get the remote service ID for this reference. Will not returnnull.- Returns:
- IRemoteServiceID the id for the remote service associated with this reference.
- Since:
- 3.0
 
 - 
getContainerIDID getContainerID() Get container ID for remote service- Returns:
- ID the containerID for this reference (where the service is
         located). Will not be null.
 
 - 
getPropertyObject getProperty(String key) Get given property for remote service- Parameters:
- key- the key for the property to get. Must not be- null.
- Returns:
- Object the object or nullif does not have named property
 
 - 
getPropertyKeysString[] getPropertyKeys() Get all property keys for remote service- Returns:
- String [] of property keys. Will not be null, but may be empty array.
 
 - 
isActiveboolean isActive() Return true if reference is active, false otherwise- Returns:
- true if reference is currently active, false otherwise
 
 
- 
 
-