public class RemoteServiceClientReference extends Object implements IRemoteServiceReference
AbstractClientContainer
.Modifier and Type | Field and Description |
---|---|
protected RemoteServiceClientRegistration |
registration |
Constructor and Description |
---|
RemoteServiceClientReference(RemoteServiceClientRegistration remoteServiceClientRegistration) |
Modifier and Type | Method and Description |
---|---|
ID |
getContainerID()
Get container ID for remote service
|
IRemoteServiceID |
getID()
Get the remote service ID for this reference.
|
Object |
getProperty(String key)
Get given property for remote service
|
String[] |
getPropertyKeys()
Get all property keys for remote service
|
boolean |
isActive()
Return true if reference is active, false otherwise
|
String |
toString() |
protected RemoteServiceClientRegistration registration
public RemoteServiceClientReference(RemoteServiceClientRegistration remoteServiceClientRegistration)
public ID getContainerID()
IRemoteServiceReference
getContainerID
in interface IRemoteServiceReference
null
.public IRemoteServiceID getID()
IRemoteServiceReference
null
.getID
in interface IRemoteServiceReference
public Object getProperty(String key)
IRemoteServiceReference
getProperty
in interface IRemoteServiceReference
key
- the key for the property to get. Must not be null
.null
if does not have named
propertypublic String[] getPropertyKeys()
IRemoteServiceReference
getPropertyKeys
in interface IRemoteServiceReference
null
, but
may be empty array.public boolean isActive()
IRemoteServiceReference
isActive
in interface IRemoteServiceReference
Copyright © 2017 Eclipse Foundation. All rights reserved.