|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.ecf.remoteservice.rest.client.RestClientServiceRegistration
public class RestClientServiceRegistration
This class acts as the registration for RestClientServices.
| 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 org.eclipse.ecf.internal.remoteservice.rest.RestServiceRegistry |
registry
|
protected IRemoteServiceID |
serviceID
|
| Constructor Summary | |
|---|---|
RestClientServiceRegistration(IRemoteCallable[] restCalls,
java.util.Dictionary properties,
org.eclipse.ecf.internal.remoteservice.rest.RestServiceRegistry registry)
|
|
RestClientServiceRegistration(java.lang.String[] classNames,
IRemoteCallable[][] restCalls,
java.util.Dictionary properties,
org.eclipse.ecf.internal.remoteservice.rest.RestServiceRegistry registry)
|
|
| Method Summary | |
|---|---|
protected IRemoteCallable |
findCallable(IRemoteCall remoteCall)
|
protected IRemoteCallable |
findDefaultRestCall(java.lang.String methodToFind)
|
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 |
protected RestClientContainer |
getRestClientContainer()
|
protected 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 org.eclipse.ecf.internal.remoteservice.rest.RestServiceRegistry registry
protected IRemoteServiceID serviceID
| Constructor Detail |
|---|
public RestClientServiceRegistration(java.lang.String[] classNames,
IRemoteCallable[][] restCalls,
java.util.Dictionary properties,
org.eclipse.ecf.internal.remoteservice.rest.RestServiceRegistry registry)
public RestClientServiceRegistration(IRemoteCallable[] restCalls,
java.util.Dictionary properties,
org.eclipse.ecf.internal.remoteservice.rest.RestServiceRegistry registry)
| Method Detail |
|---|
public java.lang.String[] getClazzes()
public ID getContainerID()
IRemoteServiceRegistration
getContainerID in interface IRemoteServiceRegistrationnull .public IRemoteServiceID getID()
IRemoteServiceRegistrationnull.
getID in interface IRemoteServiceRegistrationpublic java.lang.Object getProperty(java.lang.String key)
IRemoteServiceRegistration
getProperty in interface IRemoteServiceRegistrationkey - the key of the property. Must not be null.
null if property not
found.public java.lang.String[] getPropertyKeys()
IRemoteServiceRegistration
getPropertyKeys in interface IRemoteServiceRegistrationpublic IRemoteServiceReference getReference()
IRemoteServiceRegistration
getReference in interface IRemoteServiceRegistrationnull.public void setProperties(java.util.Dictionary properties)
IRemoteServiceRegistration
setProperties in interface IRemoteServiceRegistrationproperties - to set. Must not be null.public void unregister()
IRemoteServiceRegistration
unregister in interface IRemoteServiceRegistrationprotected RestClientContainer getRestClientContainer()
protected IRemoteCallable findDefaultRestCall(java.lang.String methodToFind)
public static java.lang.String getFQMethod(java.lang.String className,
java.lang.String defMethod)
protected IRemoteCallable findCallable(IRemoteCall remoteCall)
protected IRemoteCallable lookupCallable(IRemoteCall remoteCall)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||