Class AbstractConsumerContainerSelector
- java.lang.Object
- 
- org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractContainerSelector
- 
- org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractConsumerContainerSelector
 
 
- 
- Direct Known Subclasses:
- ConsumerContainerSelector
 
 public class AbstractConsumerContainerSelector extends AbstractContainerSelector Abstract superclass for consumer container selectors...i.e. implementers ofIConsumerContainerSelector).
- 
- 
Field Summary- 
Fields inherited from class org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractContainerSelectorEMPTY_REMOTE_SERVICE_CONTAINER_ARRAY
 
- 
 - 
Constructor SummaryConstructors Constructor Description AbstractConsumerContainerSelector()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected 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.AbstractContainerSelectorconnectContainer, 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
 
- 
 
- 
- 
- 
Method Detail- 
selectExistingConsumerContainerprotected IRemoteServiceContainer selectExistingConsumerContainer(ID endpointID, String[] remoteSupportedConfigs, ID connectTargetID) 
 - 
matchNotConnectedprotected boolean matchNotConnected(IContainer container, ID endpointID, ID connectTargetID) 
 - 
matchSupportedConfigsprotected boolean matchSupportedConfigs(IContainer container, String[] remoteSupportedConfigs) 
 - 
connectContainerToTargetprotected void connectContainerToTarget(IRemoteServiceContainer rsContainer, ID connectTargetID) 
 - 
getConnectContextprotected IConnectContext getConnectContext(IContainer container, ID connectTargetID) 
 - 
createAndConfigureConsumerContainerprotected IRemoteServiceContainer createAndConfigureConsumerContainer(String[] remoteSupportedConfigs, Map remoteExportedProperties) throws SelectContainerException - Throws:
- SelectContainerException
 
 - 
createContainerprotected IRemoteServiceContainer createContainer(ContainerTypeDescription containerTypeDescription, String containerTypeDescriptionName, Map properties) throws SelectContainerException - Parameters:
- containerTypeDescription- containerTypeDescription
- containerTypeDescriptionName- containerTypeDescriptionName
- properties- properties
- Returns:
- IRemoteServiceContainer created container.  Should not be null
- Throws:
- SelectContainerException- thrown if container cannot be created or configured
- Since:
- 2.0
 
 - 
selectLocalImportedConfigprotected String selectLocalImportedConfig(String[] localConfigTypes, Dictionary importedConfigProperties) 
 
- 
 
-