Class RemoteServiceClientRegistration
- java.lang.Object
- 
- org.eclipse.ecf.remoteservice.client.RemoteServiceClientRegistration
 
- 
- All Implemented Interfaces:
- IRemoteServiceRegistration
 - Direct Known Subclasses:
- AbstractRestClientContainer.RestRemoteServiceClientRegistration,- AbstractRSAClientContainer.RSAClientRegistration
 
 public class RemoteServiceClientRegistration extends Object implements IRemoteServiceRegistration Registrations forAbstractClientContainer.- Since:
- 4.0
 
- 
- 
Field SummaryFields Modifier and Type Field Description protected IRemoteCallable[][]callablesprotected static StringCLASS_METHOD_SEPARATORprotected String[]clazzesprotected IDcontainerIdprotected Dictionarypropertiesprotected IRemoteServiceReferencereferenceprotected RemoteServiceClientRegistryregistryprotected IRemoteServiceIDserviceID
 - 
Constructor SummaryConstructors Constructor Description RemoteServiceClientRegistration(Namespace namespace, String[] classNames, IRemoteCallable[][] restCalls, Dictionary properties, RemoteServiceClientRegistry registry)RemoteServiceClientRegistration(Namespace namespace, IRemoteCallable[] restCalls, Dictionary properties, RemoteServiceClientRegistry registry)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected IRemoteCallablefindDefaultRemoteCallable(String methodToFind)protected IRemoteCallablefindRemoteCallable(IRemoteCall remoteCall)ClassLoadergetClassLoader()String[]getClazzes()IDgetContainerID()Get the container ID for the registrationstatic StringgetFQMethod(String className, String defMethod)IRemoteServiceIDgetID()Get the remote service ID for this registration.ObjectgetProperty(String key)Get property associated with given keyString[]getPropertyKeys()Get property keys for registered serviceIRemoteServiceReferencegetReference()Get reference for this registrationIRemoteCallablelookupCallable(IRemoteCall remoteCall)protected voidsetClassLoader(ClassLoader cl)voidsetProperties(Dictionary properties)Set the properties for the registered servicevoidunregister()Unregister this service
 
- 
- 
- 
Field Detail- 
CLASS_METHOD_SEPARATORprotected static final String CLASS_METHOD_SEPARATOR - See Also:
- Constant Field Values
 
 - 
clazzesprotected String[] clazzes 
 - 
callablesprotected IRemoteCallable[][] callables 
 - 
referenceprotected IRemoteServiceReference reference 
 - 
propertiesprotected Dictionary properties 
 - 
containerIdprotected ID containerId 
 - 
registryprotected RemoteServiceClientRegistry registry 
 - 
serviceIDprotected IRemoteServiceID serviceID 
 
- 
 - 
Constructor Detail- 
RemoteServiceClientRegistrationpublic RemoteServiceClientRegistration(Namespace namespace, String[] classNames, IRemoteCallable[][] restCalls, Dictionary properties, RemoteServiceClientRegistry registry) 
 - 
RemoteServiceClientRegistrationpublic RemoteServiceClientRegistration(Namespace namespace, IRemoteCallable[] restCalls, Dictionary properties, RemoteServiceClientRegistry registry) 
 
- 
 - 
Method Detail- 
getClazzespublic String[] getClazzes() 
 - 
getContainerIDpublic ID getContainerID() Description copied from interface:IRemoteServiceRegistrationGet the container ID for the registration- Specified by:
- getContainerIDin interface- IRemoteServiceRegistration
- Returns:
- ID of the local container. Will not be null.
 
 - 
getIDpublic IRemoteServiceID getID() Description copied from interface:IRemoteServiceRegistrationGet the remote service ID for this registration. Will not returnnull.- Specified by:
- getIDin interface- IRemoteServiceRegistration
- Returns:
- IRemoteServiceID the id for the remote service associated with this registration.
 
 - 
getPropertypublic Object getProperty(String key) Description copied from interface:IRemoteServiceRegistrationGet property associated with given key- Specified by:
- getPropertyin interface- IRemoteServiceRegistration
- Parameters:
- key- the key of the property. Must not be- null.
- Returns:
- Object the property value. nullif property not found.
 
 - 
getPropertyKeyspublic String[] getPropertyKeys() Description copied from interface:IRemoteServiceRegistrationGet property keys for registered service- Specified by:
- getPropertyKeysin interface- IRemoteServiceRegistration
- Returns:
- String [] with property keys. Will not be null, but may be empty array.
 
 - 
getReferencepublic IRemoteServiceReference getReference() Description copied from interface:IRemoteServiceRegistrationGet reference for this registration- Specified by:
- getReferencein interface- IRemoteServiceRegistration
- Returns:
- IRemoteServiceReference for this registration. Will not be
         null.
 
 - 
setPropertiespublic void setProperties(Dictionary properties) Description copied from interface:IRemoteServiceRegistrationSet the properties for the registered service- Specified by:
- setPropertiesin interface- IRemoteServiceRegistration
- Parameters:
- properties- to set. Must not be- null.
 
 - 
unregisterpublic void unregister() Description copied from interface:IRemoteServiceRegistrationUnregister this service- Specified by:
- unregisterin interface- IRemoteServiceRegistration
 
 - 
findDefaultRemoteCallableprotected IRemoteCallable findDefaultRemoteCallable(String methodToFind) 
 - 
findRemoteCallableprotected IRemoteCallable findRemoteCallable(IRemoteCall remoteCall) 
 - 
lookupCallablepublic IRemoteCallable lookupCallable(IRemoteCall remoteCall) 
 - 
getClassLoaderpublic ClassLoader getClassLoader() - Specified by:
- getClassLoaderin interface- IRemoteServiceRegistration
 
 - 
setClassLoaderprotected void setClassLoader(ClassLoader cl) - Since:
- 8.14
 
 
- 
 
-