public abstract class RestClientContainerInstantiator extends BaseContainerInstantiator implements IRemoteServiceContainerInstantiator
Modifier and Type | Field and Description |
---|---|
static java.lang.String[] |
intents |
EMPTY_CLASS_ARRAY, EMPTY_STRING_ARRAY, NO_ADAPTERS_ARRAY
Constructor and Description |
---|
RestClientContainerInstantiator() |
Modifier and Type | Method and Description |
---|---|
java.util.Dictionary |
getPropertiesForImportedConfigs(ContainerTypeDescription description,
java.lang.String[] importedConfigs,
java.util.Dictionary exportedProperties)
Get the properties associated with the given description, with the given importedConfigTypes, via the given exportedProperties.
|
java.lang.String[] |
getSupportedConfigs(ContainerTypeDescription description)
Get supported configs for the given ContainerTypeDescription.
|
java.lang.String[] |
getSupportedIntents(ContainerTypeDescription description)
Get supported intents for the given ContainerTypeDescription.
|
createInstance, getAdaptersForClass, getIDParameterValue, getIDParameterValue, getIDParameterValue, getIntegerFromArg, getInterfacesAndAdaptersForClass, getInterfacesForClass, getInterfacesForClass, getMap, getMapParameterString, getMapParameterString, getParameterValue, getParameterValue, getParameterValue, getParameterValue, getParameterValue, getStringFromArg, getSupportedAdapterTypes, getSupportedParameterTypes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getImportedConfigs
public java.lang.String[] getSupportedConfigs(ContainerTypeDescription description)
IRemoteServiceContainerInstantiator
getSupportedConfigs
in interface IRemoteServiceContainerInstantiator
description
- the ContainerTypeDescription to return the supported configs for.
Will not be null
.null
may be returned if the
given description does not support any config types.public java.util.Dictionary getPropertiesForImportedConfigs(ContainerTypeDescription description, java.lang.String[] importedConfigs, java.util.Dictionary exportedProperties)
IRemoteServiceContainerInstantiator
getPropertiesForImportedConfigs
in interface IRemoteServiceContainerInstantiator
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
.null
if
no properties are associated with the given description, importedConfigTypes, exportedProperties.public java.lang.String[] getSupportedIntents(ContainerTypeDescription description)
IRemoteServiceContainerInstantiator
getSupportedIntents
in interface IContainerInstantiator
getSupportedIntents
in interface IRemoteServiceContainerInstantiator
getSupportedIntents
in class BaseContainerInstantiator
description
- the ContainerTypeDescription to return the supported intents for.
Will not be null
.null
may be returned if the
given description does not support any intents.