Package org.eclipse.ecf.remoteservice
Class RemoteServiceReferenceImpl
- java.lang.Object
- 
- org.eclipse.ecf.remoteservice.RemoteServiceReferenceImpl
 
- 
- All Implemented Interfaces:
- IRemoteServiceReference
 
 public class RemoteServiceReferenceImpl extends Object implements IRemoteServiceReference - Since:
- 8.3
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected Stringclazzprotected RemoteServiceRegistrationImplregistration
 - 
Constructor SummaryConstructors Constructor Description RemoteServiceReferenceImpl(RemoteServiceRegistrationImpl registration)
 - 
Method SummaryAll Methods Instance Methods Concrete 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 serviceprotected RemoteServiceRegistrationImplgetRegistration()booleanisActive()Return true if reference is active, false otherwiseprotected voidsetInactive()StringtoString()
 
- 
- 
- 
Field Detail- 
registrationprotected RemoteServiceRegistrationImpl registration 
 - 
clazzprotected String clazz 
 
- 
 - 
Constructor Detail- 
RemoteServiceReferenceImplpublic RemoteServiceReferenceImpl(RemoteServiceRegistrationImpl registration) 
 
- 
 - 
Method Detail- 
getPropertypublic Object getProperty(String key) Description copied from interface:IRemoteServiceReferenceGet given property for remote service- Specified by:
- getPropertyin interface- IRemoteServiceReference
- Parameters:
- key- the key for the property to get. Must not be- null.
- Returns:
- Object the object or nullif does not have named property
 
 - 
getPropertyKeyspublic String[] getPropertyKeys() Description copied from interface:IRemoteServiceReferenceGet all property keys for remote service- Specified by:
- getPropertyKeysin interface- IRemoteServiceReference
- Returns:
- String [] of property keys. Will not be null, but may be empty array.
 
 - 
getContainerIDpublic ID getContainerID() Description copied from interface:IRemoteServiceReferenceGet container ID for remote service- Specified by:
- getContainerIDin interface- IRemoteServiceReference
- Returns:
- ID the containerID for this reference (where the service is
         located). Will not be null.
 
 - 
isActivepublic boolean isActive() Description copied from interface:IRemoteServiceReferenceReturn true if reference is active, false otherwise- Specified by:
- isActivein interface- IRemoteServiceReference
- Returns:
- true if reference is currently active, false otherwise
 
 - 
setInactiveprotected void setInactive() 
 - 
getRegistrationprotected RemoteServiceRegistrationImpl getRegistration() 
 - 
getIDpublic IRemoteServiceID getID() Description copied from interface:IRemoteServiceReferenceGet the remote service ID for this reference. Will not returnnull.- Specified by:
- getIDin interface- IRemoteServiceReference
- Returns:
- IRemoteServiceID the id for the remote service associated with this reference.
- Since:
- 3.0
 
 
- 
 
-