|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ecf.remoteservice.client.RemoteServiceClientRegistration
public class RemoteServiceClientRegistration
Registrations for AbstractClientContainer
.
Field Summary | |
---|---|
protected IRemoteCallable[][] |
callables
|
protected static java.lang.String |
CLASS_METHOD_SEPARATOR
|
protected java.lang.String[] |
clazzes
|
protected ID |
containerId
|
protected java.util.Dictionary |
properties
|
protected IRemoteServiceReference |
reference
|
protected RemoteServiceClientRegistry |
registry
|
protected IRemoteServiceID |
serviceID
|
Constructor Summary | |
---|---|
RemoteServiceClientRegistration(Namespace namespace,
IRemoteCallable[] restCalls,
java.util.Dictionary properties,
RemoteServiceClientRegistry registry)
|
|
RemoteServiceClientRegistration(Namespace namespace,
java.lang.String[] classNames,
IRemoteCallable[][] restCalls,
java.util.Dictionary properties,
RemoteServiceClientRegistry registry)
|
Method Summary | |
---|---|
protected IRemoteCallable |
findDefaultRemoteCallable(java.lang.String methodToFind)
|
protected IRemoteCallable |
findRemoteCallable(IRemoteCall remoteCall)
|
java.lang.String[] |
getClazzes()
|
ID |
getContainerID()
Get the container ID for the registration |
static java.lang.String |
getFQMethod(java.lang.String className,
java.lang.String defMethod)
|
IRemoteServiceID |
getID()
Get the remote service ID for this registration. |
java.lang.Object |
getProperty(java.lang.String key)
Get property associated with given key |
java.lang.String[] |
getPropertyKeys()
Get property keys for registered service |
IRemoteServiceReference |
getReference()
Get reference for this registration |
IRemoteCallable |
lookupCallable(IRemoteCall remoteCall)
|
void |
setProperties(java.util.Dictionary properties)
Set the properties for the registered service |
void |
unregister()
Unregister this service |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected static final java.lang.String CLASS_METHOD_SEPARATOR
protected java.lang.String[] clazzes
protected IRemoteCallable[][] callables
protected IRemoteServiceReference reference
protected java.util.Dictionary properties
protected ID containerId
protected RemoteServiceClientRegistry registry
protected IRemoteServiceID serviceID
Constructor Detail |
---|
public RemoteServiceClientRegistration(Namespace namespace, java.lang.String[] classNames, IRemoteCallable[][] restCalls, java.util.Dictionary properties, RemoteServiceClientRegistry registry)
public RemoteServiceClientRegistration(Namespace namespace, IRemoteCallable[] restCalls, java.util.Dictionary properties, RemoteServiceClientRegistry registry)
Method Detail |
---|
public java.lang.String[] getClazzes()
public ID getContainerID()
IRemoteServiceRegistration
getContainerID
in interface IRemoteServiceRegistration
null
.public IRemoteServiceID getID()
IRemoteServiceRegistration
null
.
getID
in interface IRemoteServiceRegistration
public java.lang.Object getProperty(java.lang.String key)
IRemoteServiceRegistration
getProperty
in interface IRemoteServiceRegistration
key
- the key of the property. Must not be null
.
null
if property not
found.public java.lang.String[] getPropertyKeys()
IRemoteServiceRegistration
getPropertyKeys
in interface IRemoteServiceRegistration
public IRemoteServiceReference getReference()
IRemoteServiceRegistration
getReference
in interface IRemoteServiceRegistration
null
.public void setProperties(java.util.Dictionary properties)
IRemoteServiceRegistration
setProperties
in interface IRemoteServiceRegistration
properties
- to set. Must not be null
.public void unregister()
IRemoteServiceRegistration
unregister
in interface IRemoteServiceRegistration
protected IRemoteCallable findDefaultRemoteCallable(java.lang.String methodToFind)
public static java.lang.String getFQMethod(java.lang.String className, java.lang.String defMethod)
protected IRemoteCallable findRemoteCallable(IRemoteCall remoteCall)
public IRemoteCallable lookupCallable(IRemoteCall remoteCall)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |