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
FieldsFields inherited from class org.eclipse.ecf.core.provider.BaseContainerInstantiator
EMPTY_CLASS_ARRAY, EMPTY_STRING_ARRAY, NO_ADAPTERS_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetPropertiesForImportedConfigs(ContainerTypeDescription description, String[] importedConfigs, Dictionary exportedProperties) Get the properties associated with the given description, with the given importedConfigTypes, via the given exportedProperties.String[]getSupportedConfigs(ContainerTypeDescription description) Get supported configs for the given ContainerTypeDescription.String[]getSupportedIntents(ContainerTypeDescription description) Get supported intents for the given ContainerTypeDescription.Methods inherited from class org.eclipse.ecf.core.provider.BaseContainerInstantiator
createInstance, getAdaptersForClass, getIDParameterValue, getIDParameterValue, getIDParameterValue, getIntegerFromArg, getInterfacesAndAdaptersForClass, getInterfacesForClass, getInterfacesForClass, getMap, getMapParameterString, getMapParameterString, getParameterValue, getParameterValue, getParameterValue, getParameterValue, getParameterValue, getStringFromArg, getSupportedAdapterTypes, getSupportedParameterTypesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.ecf.core.provider.IRemoteServiceContainerInstantiator
getImportedConfigs
-
Field Details
-
intents
-
-
Constructor Details
-
RestClientContainerInstantiator
public RestClientContainerInstantiator()
-
-
Method Details
-
getSupportedConfigs
Description copied from interface:IRemoteServiceContainerInstantiatorGet 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:
getSupportedConfigsin interfaceIRemoteServiceContainerInstantiator- Parameters:
description- the ContainerTypeDescription to return the supported configs for. Will not benull.- Returns:
- String[] the supported config types.
nullmay be returned if the given description does not support any config types.
-
getPropertiesForImportedConfigs
public Dictionary getPropertiesForImportedConfigs(ContainerTypeDescription description, String[] importedConfigs, Dictionary exportedProperties) Description copied from interface:IRemoteServiceContainerInstantiatorGet the properties associated with the given description, with the given importedConfigTypes, via the given exportedProperties.- Specified by:
getPropertiesForImportedConfigsin interfaceIRemoteServiceContainerInstantiator- Parameters:
description- the container type description under consideration.importedConfigs- the imported config types for the given properties. Will not benull, and should be the same values as returned fromIRemoteServiceContainerInstantiator.getImportedConfigs(ContainerTypeDescription, String[]).exportedProperties- the properties from the exported service. Will not benull.- Returns:
- Dictionary that has all of the properties for the importedConfigTypes. May be
nullif no properties are associated with the given description, importedConfigTypes, exportedProperties.
-
getSupportedIntents
Description copied from interface:IRemoteServiceContainerInstantiatorGet 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:
getSupportedIntentsin interfaceIContainerInstantiator- Specified by:
getSupportedIntentsin interfaceIRemoteServiceContainerInstantiator- Overrides:
getSupportedIntentsin classBaseContainerInstantiator- Parameters:
description- the ContainerTypeDescription to return the supported intents for. Will not benull.- Returns:
- String[] the supported intents.
nullmay be returned if the given description does not support any intents.
-