Class RemoteServiceClientReference
- java.lang.Object
-
- org.eclipse.ecf.remoteservice.client.RemoteServiceClientReference
-
- All Implemented Interfaces:
IRemoteServiceReference
public class RemoteServiceClientReference extends Object implements IRemoteServiceReference
Reference objects forAbstractClientContainer.- Since:
- 4.0
-
-
Field Summary
Fields Modifier and Type Field Description protected RemoteServiceClientRegistrationregistration
-
Constructor Summary
Constructors Constructor Description RemoteServiceClientReference(RemoteServiceClientRegistration remoteServiceClientRegistration)
-
Method Summary
All 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 servicebooleanisActive()Return true if reference is active, false otherwiseStringtoString()
-
-
-
Field Detail
-
registration
protected RemoteServiceClientRegistration registration
-
-
Constructor Detail
-
RemoteServiceClientReference
public RemoteServiceClientReference(RemoteServiceClientRegistration remoteServiceClientRegistration)
-
-
Method Detail
-
getContainerID
public ID getContainerID()
Description copied from interface:IRemoteServiceReferenceGet container ID for remote service- Specified by:
getContainerIDin interfaceIRemoteServiceReference- Returns:
- ID the containerID for this reference (where the service is
located). Will not be
null.
-
getID
public IRemoteServiceID getID()
Description copied from interface:IRemoteServiceReferenceGet the remote service ID for this reference. Will not returnnull.- Specified by:
getIDin interfaceIRemoteServiceReference- Returns:
- IRemoteServiceID the id for the remote service associated with this reference.
-
getProperty
public Object getProperty(String key)
Description copied from interface:IRemoteServiceReferenceGet given property for remote service- Specified by:
getPropertyin interfaceIRemoteServiceReference- Parameters:
key- the key for the property to get. Must not benull.- Returns:
- Object the object or
nullif does not have named property
-
getPropertyKeys
public String[] getPropertyKeys()
Description copied from interface:IRemoteServiceReferenceGet all property keys for remote service- Specified by:
getPropertyKeysin interfaceIRemoteServiceReference- Returns:
- String [] of property keys. Will not be
null, but may be empty array.
-
isActive
public boolean isActive()
Description copied from interface:IRemoteServiceReferenceReturn true if reference is active, false otherwise- Specified by:
isActivein interfaceIRemoteServiceReference- Returns:
- true if reference is currently active, false otherwise
-
-