Class RemoteServiceClientRegistration
java.lang.Object
org.eclipse.ecf.remoteservice.client.RemoteServiceClientRegistration
- All Implemented Interfaces:
IRemoteServiceRegistration
- Direct Known Subclasses:
AbstractRestClientContainer.RestRemoteServiceClientRegistration,AbstractRSAClientContainer.RSAClientRegistration
Registrations for
AbstractClientContainer.- Since:
- 4.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IRemoteCallable[][]protected static final Stringprotected String[]protected IDprotected Dictionaryprotected IRemoteServiceReferenceprotected RemoteServiceClientRegistryprotected IRemoteServiceID -
Constructor Summary
ConstructorsConstructorDescriptionRemoteServiceClientRegistration(Namespace namespace, String[] classNames, IRemoteCallable[][] restCalls, Dictionary properties, RemoteServiceClientRegistry registry) RemoteServiceClientRegistration(Namespace namespace, IRemoteCallable[] restCalls, Dictionary properties, RemoteServiceClientRegistry registry) -
Method Summary
Modifier and TypeMethodDescriptionprotected IRemoteCallablefindDefaultRemoteCallable(String methodToFind) protected IRemoteCallablefindRemoteCallable(IRemoteCall remoteCall) String[]Get the container ID for the registrationstatic StringgetFQMethod(String className, String defMethod) getID()Get the remote service ID for this registration.getProperty(String key) Get property associated with given keyString[]Get property keys for registered serviceGet reference for this registrationlookupCallable(IRemoteCall remoteCall) protected voidvoidsetProperties(Dictionary properties) Set the properties for the registered servicevoidUnregister this service
-
Field Details
-
CLASS_METHOD_SEPARATOR
- See Also:
-
clazzes
-
callables
-
reference
-
properties
-
containerId
-
registry
-
serviceID
-
-
Constructor Details
-
RemoteServiceClientRegistration
public RemoteServiceClientRegistration(Namespace namespace, String[] classNames, IRemoteCallable[][] restCalls, Dictionary properties, RemoteServiceClientRegistry registry) -
RemoteServiceClientRegistration
public RemoteServiceClientRegistration(Namespace namespace, IRemoteCallable[] restCalls, Dictionary properties, RemoteServiceClientRegistry registry)
-
-
Method Details
-
getClazzes
-
getContainerID
Description copied from interface:IRemoteServiceRegistrationGet the container ID for the registration- Specified by:
getContainerIDin interfaceIRemoteServiceRegistration- Returns:
- ID of the local container. Will not be
null.
-
getID
Description copied from interface:IRemoteServiceRegistrationGet the remote service ID for this registration. Will not returnnull.- Specified by:
getIDin interfaceIRemoteServiceRegistration- Returns:
- IRemoteServiceID the id for the remote service associated with this registration.
-
getProperty
Description copied from interface:IRemoteServiceRegistrationGet property associated with given key- Specified by:
getPropertyin interfaceIRemoteServiceRegistration- Parameters:
key- the key of the property. Must not benull.- Returns:
- Object the property value.
nullif property not found.
-
getPropertyKeys
Description copied from interface:IRemoteServiceRegistrationGet property keys for registered service- Specified by:
getPropertyKeysin interfaceIRemoteServiceRegistration- Returns:
- String [] with property keys. Will not be null, but may be empty array.
-
getReference
Description copied from interface:IRemoteServiceRegistrationGet reference for this registration- Specified by:
getReferencein interfaceIRemoteServiceRegistration- Returns:
- IRemoteServiceReference for this registration. Will not be
null.
-
setProperties
Description copied from interface:IRemoteServiceRegistrationSet the properties for the registered service- Specified by:
setPropertiesin interfaceIRemoteServiceRegistration- Parameters:
properties- to set. Must not benull.
-
unregister
public void unregister()Description copied from interface:IRemoteServiceRegistrationUnregister this service- Specified by:
unregisterin interfaceIRemoteServiceRegistration
-
findDefaultRemoteCallable
-
getFQMethod
-
findRemoteCallable
-
lookupCallable
-
getClassLoader
- Specified by:
getClassLoaderin interfaceIRemoteServiceRegistration
-
setClassLoader
- Since:
- 8.14
-