Class RemoteServiceReferenceImpl
java.lang.Object
org.eclipse.ecf.provider.remoteservice.generic.RemoteServiceReferenceImpl
- All Implemented Interfaces:
IRemoteServiceReference
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet container ID for remote servicegetID()Get the remote service ID for this reference.getProperty(String key) Get given property for remote serviceString[]Get all property keys for remote serviceprotected RemoteServiceRegistrationImplbooleanisActive()Return true if reference is active, false otherwiseprotected voidtoString()
-
Field Details
-
registration
-
clazz
-
-
Constructor Details
-
RemoteServiceReferenceImpl
-
-
Method Details
-
getProperty
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
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.
-
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.
-
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
-
setInactive
protected void setInactive() -
getRegistration
-
toString
-
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.
- Since:
- 3.0
-