public class RemoteServiceClientReference extends java.lang.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.
|
java.lang.Object |
getProperty(java.lang.String key)
Get given property for remote service
|
java.lang.String[] |
getPropertyKeys()
Get all property keys for remote service
|
boolean |
isActive()
Return true if reference is active, false otherwise
|
java.lang.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 java.lang.Object getProperty(java.lang.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 java.lang.String[] getPropertyKeys()
IRemoteServiceReference
getPropertyKeys
in interface IRemoteServiceReference
null
, but
may be empty array.public boolean isActive()
IRemoteServiceReference
isActive
in interface IRemoteServiceReference
public java.lang.String toString()
toString
in class java.lang.Object