org.eclipse.ecf.osgi.services.distribution
Class AbstractProxyContainerFinder

java.lang.Object
  extended by org.eclipse.ecf.osgi.services.distribution.AbstractContainerFinder
      extended by org.eclipse.ecf.osgi.services.distribution.AbstractProxyContainerFinder
Direct Known Subclasses:
DefaultProxyContainerFinder

public abstract class AbstractProxyContainerFinder
extends AbstractContainerFinder


Field Summary
 
Fields inherited from class org.eclipse.ecf.osgi.services.distribution.AbstractContainerFinder
EMPTY_REMOTE_SERVICE_CONTAINER_ARRAY
 
Constructor Summary
AbstractProxyContainerFinder()
           
 
Method Summary
protected  void connectContainersToTarget(java.util.Collection rsContainers, ID connectTargetID)
           
protected  java.util.Collection createAndConfigureProxyContainers(java.lang.String[] remoteSupportedConfigs, java.util.Map remoteExportedProperties)
           
protected  IRemoteServiceContainer createContainer(java.lang.String containerTypeDescriptionName, java.util.Map properties)
           
protected  java.util.Collection findExistingProxyContainers(ID endpointID, java.lang.String[] remoteSupportedConfigs, ID connectTargetID)
           
protected  IConnectContext getConnectContext(IContainer container, ID connectTargetID)
           
protected  boolean matchNotConnected(IContainer container, ID endpointID, ID connectTargetID)
           
protected  boolean matchProxySupportedConfigs(IContainer container, java.lang.String[] remoteSupportedConfigs)
           
protected  java.lang.String selectLocalImportedConfig(java.lang.String[] localConfigTypes, java.util.Dictionary importedConfigProperties)
           
 
Methods inherited from class org.eclipse.ecf.osgi.services.distribution.AbstractContainerFinder
connectContainer, createConnectContext, createContainer, createTargetID, disconnectContainer, getContainerFactory, getContainerManager, getContainers, getContainerTypeDescription, getContainerTypeDescriptions, getIDFactory, getRemoteServiceContainers, getSupportedConfigTypes, getSupportedIntents, hasRemoteServiceContainerAdapter, includeContainerWithConnectNamespace, logError, logError, logException, logWarning, matchConnectNamespace, matchContainerID, trace, traceException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractProxyContainerFinder

public AbstractProxyContainerFinder()
Method Detail

findExistingProxyContainers

protected java.util.Collection findExistingProxyContainers(ID endpointID,
                                                           java.lang.String[] remoteSupportedConfigs,
                                                           ID connectTargetID)

matchNotConnected

protected boolean matchNotConnected(IContainer container,
                                    ID endpointID,
                                    ID connectTargetID)

matchProxySupportedConfigs

protected boolean matchProxySupportedConfigs(IContainer container,
                                             java.lang.String[] remoteSupportedConfigs)

connectContainersToTarget

protected void connectContainersToTarget(java.util.Collection rsContainers,
                                         ID connectTargetID)

getConnectContext

protected IConnectContext getConnectContext(IContainer container,
                                            ID connectTargetID)

createAndConfigureProxyContainers

protected java.util.Collection createAndConfigureProxyContainers(java.lang.String[] remoteSupportedConfigs,
                                                                 java.util.Map remoteExportedProperties)

createContainer

protected IRemoteServiceContainer createContainer(java.lang.String containerTypeDescriptionName,
                                                  java.util.Map properties)

selectLocalImportedConfig

protected java.lang.String selectLocalImportedConfig(java.lang.String[] localConfigTypes,
                                                     java.util.Dictionary importedConfigProperties)