org.eclipse.ecf.remoteservice.rest.client
Class RestClientContainerInstantiator
java.lang.Object
org.eclipse.ecf.core.provider.BaseContainerInstantiator
org.eclipse.ecf.remoteservice.rest.client.RestClientContainerInstantiator
- All Implemented Interfaces:
- IContainerInstantiator, IRemoteServiceContainerInstantiator
public abstract class RestClientContainerInstantiator
- extends BaseContainerInstantiator
- implements IRemoteServiceContainerInstantiator
Field Summary |
static java.lang.String[] |
intents
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
intents
public static final java.lang.String[] intents
RestClientContainerInstantiator
public RestClientContainerInstantiator()
getSupportedConfigs
public java.lang.String[] getSupportedConfigs(ContainerTypeDescription description)
- Description copied from interface:
IRemoteServiceContainerInstantiator
- Get supported configs for the given ContainerTypeDescription. This method
will be called to determine what the OSGi remote service supported config types are for the given description during
the search for the service exporter provider/containers upon remote service registration.
- Specified by:
getSupportedConfigs
in interface IRemoteServiceContainerInstantiator
- Parameters:
description
- the ContainerTypeDescription to return the supported configs for.
Will not be null
.
- Returns:
- String[] the supported config types.
null
may be returned if the
given description does not support any config types.
getPropertiesForImportedConfigs
public java.util.Dictionary getPropertiesForImportedConfigs(ContainerTypeDescription description,
java.lang.String[] importedConfigs,
java.util.Dictionary exportedProperties)
- Description copied from interface:
IRemoteServiceContainerInstantiator
- Get the properties associated with the given description, with the given importedConfigTypes, via the given exportedProperties.
- Specified by:
getPropertiesForImportedConfigs
in interface IRemoteServiceContainerInstantiator
- Parameters:
description
- the container type description under consideration.importedConfigs
- the imported config types for the given properties. Will not be null
, and
should be the same values as returned from IRemoteServiceContainerInstantiator.getImportedConfigs(ContainerTypeDescription, String[])
.exportedProperties
- the properties from the exported service. Will not be null
.
- Returns:
- Dictionary that has all of the properties for the importedConfigTypes. May be
null
if
no properties are associated with the given description, importedConfigTypes, exportedProperties.
getSupportedIntents
public java.lang.String[] getSupportedIntents(ContainerTypeDescription description)
- Description copied from interface:
IRemoteServiceContainerInstantiator
- Get supported intents for the given ContainerTypeDescription. This method
will be called to determine what the OSGi remote service supported intents are for the given description during
the search for the service exporter provider/containers upon remote service registration.
- Specified by:
getSupportedIntents
in interface IContainerInstantiator
- Specified by:
getSupportedIntents
in interface IRemoteServiceContainerInstantiator
- Overrides:
getSupportedIntents
in class BaseContainerInstantiator
- Parameters:
description
- the ContainerTypeDescription to return the supported intents for.
Will not be null
.
- Returns:
- String[] the supported intents.
null
may be returned if the
given description does not support any intents.