Class AbstractConsumerContainerSelector
java.lang.Object
org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractContainerSelector
org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractConsumerContainerSelector
- Direct Known Subclasses:
ConsumerContainerSelector
Abstract superclass for consumer container selectors...i.e. implementers of
IConsumerContainerSelector).-
Field Summary
Fields inherited from class org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractContainerSelector
EMPTY_REMOTE_SERVICE_CONTAINER_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconnectContainerToTarget(IRemoteServiceContainer rsContainer, ID connectTargetID) protected IRemoteServiceContainercreateAndConfigureConsumerContainer(String[] remoteSupportedConfigs, Map remoteExportedProperties) protected IRemoteServiceContainercreateContainer(ContainerTypeDescription containerTypeDescription, String containerTypeDescriptionName, Map properties) protected IConnectContextgetConnectContext(IContainer container, ID connectTargetID) protected booleanmatchNotConnected(IContainer container, ID endpointID, ID connectTargetID) protected booleanmatchSupportedConfigs(IContainer container, String[] remoteSupportedConfigs) protected IRemoteServiceContainerselectExistingConsumerContainer(ID endpointID, String[] remoteSupportedConfigs, ID connectTargetID) protected StringselectLocalImportedConfig(String[] localConfigTypes, Dictionary importedConfigProperties) Methods inherited from class org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractContainerSelector
connectContainer, createConnectContext, createContainer, createContainer, createTargetID, disconnectContainer, getContainerFactory, getContainerFactoryArguments, getContainerFactoryArguments, getContainerManager, getContainers, getContainerTypeDescription, getContainerTypeDescriptions, getRemoteServiceContainers, getSupportedConfigTypes, getSupportedIntents, hasRemoteServiceContainerAdapter, includeContainerWithConnectNamespace, logError, logError, logException, logWarning, matchConnectNamespace, matchContainerID, trace, traceException
-
Constructor Details
-
AbstractConsumerContainerSelector
public AbstractConsumerContainerSelector()
-
-
Method Details
-
selectExistingConsumerContainer
protected IRemoteServiceContainer selectExistingConsumerContainer(ID endpointID, String[] remoteSupportedConfigs, ID connectTargetID) -
matchNotConnected
-
matchSupportedConfigs
-
connectContainerToTarget
-
getConnectContext
-
createAndConfigureConsumerContainer
protected IRemoteServiceContainer createAndConfigureConsumerContainer(String[] remoteSupportedConfigs, Map remoteExportedProperties) throws SelectContainerException - Throws:
SelectContainerException
-
createContainer
protected IRemoteServiceContainer createContainer(ContainerTypeDescription containerTypeDescription, String containerTypeDescriptionName, Map properties) throws SelectContainerException - Parameters:
containerTypeDescription- containerTypeDescriptioncontainerTypeDescriptionName- containerTypeDescriptionNameproperties- properties- Returns:
- IRemoteServiceContainer created container. Should not be
null - Throws:
SelectContainerException- thrown if container cannot be created or configured- Since:
- 2.0
-
selectLocalImportedConfig
protected String selectLocalImportedConfig(String[] localConfigTypes, Dictionary importedConfigProperties)
-