Class AbstractContainerSelector
- java.lang.Object
- 
- org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractContainerSelector
 
- 
- Direct Known Subclasses:
- AbstractConsumerContainerSelector,- AbstractHostContainerSelector
 
 public abstract class AbstractContainerSelector extends Object Abstract superclass for both host and consumer container selectors...i.e. implementers ofIHostContainerSelectororIConsumerContainerSelector.
- 
- 
Field SummaryFields Modifier and Type Field Description static IRemoteServiceContainer[]EMPTY_REMOTE_SERVICE_CONTAINER_ARRAY
 - 
Constructor SummaryConstructors Constructor Description AbstractContainerSelector()
 - 
Method Summary
 
- 
- 
- 
Field Detail- 
EMPTY_REMOTE_SERVICE_CONTAINER_ARRAYpublic static final IRemoteServiceContainer[] EMPTY_REMOTE_SERVICE_CONTAINER_ARRAY 
 
- 
 - 
Method Detail- 
getContainerManagerprotected IContainerManager getContainerManager() 
 - 
getContainerFactoryprotected IContainerFactory getContainerFactory() 
 - 
getContainerTypeDescriptionsprotected ContainerTypeDescription[] getContainerTypeDescriptions() 
 - 
getContainersprotected IContainer[] getContainers() 
 - 
hasRemoteServiceContainerAdapterprotected IRemoteServiceContainerAdapter hasRemoteServiceContainerAdapter(IContainer container) 
 - 
getContainerTypeDescriptionprotected ContainerTypeDescription getContainerTypeDescription(IContainer container) 
 - 
getRemoteServiceContainersprotected IRemoteServiceContainer[] getRemoteServiceContainers(IContainer[] containers) 
 - 
includeContainerWithConnectNamespaceprotected boolean includeContainerWithConnectNamespace(IContainer container, String connectNamespaceName) 
 - 
connectContainerprotected void connectContainer(IContainer container, ID connectTargetID, IConnectContext connectContext) throws ContainerConnectException - Throws:
- ContainerConnectException
 
 - 
getSupportedConfigTypesprotected String[] getSupportedConfigTypes(ContainerTypeDescription containerTypeDescription) 
 - 
getSupportedIntentsprotected String[] getSupportedIntents(ContainerTypeDescription containerTypeDescription) 
 - 
createContainerprotected IContainer createContainer(ServiceReference serviceReference, Map<String,Object> properties, ContainerTypeDescription containerTypeDescription) throws SelectContainerException - Parameters:
- serviceReference- serviceReference
- properties- overriding properties
- containerTypeDescription- containerTypeDescription
- Returns:
- IContainer created container.  Should not be null
- Throws:
- SelectContainerException- thrown if some create or configure failure
- Since:
- 2.0
 
 - 
createContainerprotected IContainer createContainer(ServiceReference serviceReference, Map<String,Object> properties, ContainerTypeDescription containerTypeDescription, String[] intents) throws SelectContainerException - Parameters:
- serviceReference- serviceReference
- properties- overriding properties
- containerTypeDescription- containerTypeDescription
- intents- intents
- Returns:
- IContainer created container. May be null if instance cannot be created (e.g. because of intent requirements)
- Throws:
- SelectContainerException- thrown if some create or configure failure
- Since:
- 4.6
 
 - 
getContainerFactoryArgumentsprotected Object getContainerFactoryArguments(ServiceReference serviceReference, Map<String,Object> properties, ContainerTypeDescription containerTypeDescription) - Parameters:
- serviceReference- serviceReference
- properties- overriding properties
- containerTypeDescription- containerTypeDescription
- Returns:
- Object container factory arguments to use
- Since:
- 2.0
 
 - 
getContainerFactoryArgumentsprotected Object getContainerFactoryArguments(ServiceReference serviceReference, Map<String,Object> properties, ContainerTypeDescription containerTypeDescription, String[] intents) - Parameters:
- serviceReference- serviceReference
- properties- overriding properties
- containerTypeDescription- containerTypeDescription
- intents- intents
- Returns:
- Object container factory arguments to use
- Since:
- 4.6
 
 - 
createTargetIDprotected ID createTargetID(IContainer container, String target) 
 - 
disconnectContainerprotected void disconnectContainer(IContainer container) 
 - 
createConnectContextprotected IConnectContext createConnectContext(ServiceReference serviceReference, Map<String,Object> properties, IContainer container, Object context) - Parameters:
- serviceReference- serviceReference
- properties- overriding properties
- container- the container to create connect context for
- context- a possible connect context]
- Returns:
- IConnectContext a connect context or null
- Since:
- 2.0
 
 - 
matchConnectNamespaceprotected boolean matchConnectNamespace(IContainer container, ID endpointID, ID connectTargetID) 
 - 
matchContainerIDprotected boolean matchContainerID(IContainer container, ID endpointID) 
 
- 
 
-