public class RemoteServiceReferenceImpl extends Object implements IRemoteServiceReference
| Modifier and Type | Field and Description |
|---|---|
protected String |
clazz |
protected RemoteServiceRegistrationImpl |
registration |
| Constructor and Description |
|---|
RemoteServiceReferenceImpl(RemoteServiceRegistrationImpl registration) |
| 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
|
protected RemoteServiceRegistrationImpl |
getRegistration() |
boolean |
isActive()
Return true if reference is active, false otherwise
|
protected void |
setInactive() |
String |
toString() |
protected RemoteServiceRegistrationImpl registration
protected String clazz
public RemoteServiceReferenceImpl(RemoteServiceRegistrationImpl registration)
public Object getProperty(String key)
IRemoteServiceReferencegetProperty in interface IRemoteServiceReferencekey - the key for the property to get. Must not be null .null if does not have named
propertypublic String[] getPropertyKeys()
IRemoteServiceReferencegetPropertyKeys in interface IRemoteServiceReferencenull, but
may be empty array.public ID getContainerID()
IRemoteServiceReferencegetContainerID in interface IRemoteServiceReferencenull .public boolean isActive()
IRemoteServiceReferenceisActive in interface IRemoteServiceReferenceprotected void setInactive()
protected RemoteServiceRegistrationImpl getRegistration()
public IRemoteServiceID getID()
IRemoteServiceReferencenull.getID in interface IRemoteServiceReferenceCopyright © 2004–2020 Eclipse Foundation. All rights reserved.