public class HostContainerSelector extends AbstractHostContainerSelector implements IHostContainerSelector
IHostContainerSelector service.defaultConfigTypesEMPTY_REMOTE_SERVICE_CONTAINER_ARRAY| Constructor and Description |
|---|
HostContainerSelector(String[] defaultConfigTypes,
boolean autoCreateContainer) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
IRemoteServiceContainer[] |
selectHostContainers(ServiceReference serviceReference,
Map<String,Object> overridingProperties,
String[] serviceExportedInterfaces,
String[] serviceExportedConfigs,
String[] serviceIntents)
Select host containers to use to export a remote service.
|
connectHostContainer, createAndConfigureHostContainers, createMatchingContainer, createRSContainer, createRSContainer, getContainerTypeDescriptionsForDefaultConfigTypes, getDefaultConfigTypes, getExcludedDescriptions, getRequireServerDescription, matchDefaultConfigTypes, matchExistingHostContainer, matchHostContainerID, matchHostContainerToConnectTarget, matchHostSupportedConfigTypes, matchHostSupportedIntents, matchHostSupportedIntents, matchNotExcluded, matchRequireServer, selectExistingHostContainers, setExcludedDescriptions, setRequireServerconnectContainer, createConnectContext, createContainer, createContainer, createTargetID, disconnectContainer, getContainerFactory, getContainerFactoryArguments, getContainerFactoryArguments, getContainerManager, getContainers, getContainerTypeDescription, getContainerTypeDescriptions, getRemoteServiceContainers, getSupportedConfigTypes, getSupportedIntents, hasRemoteServiceContainerAdapter, includeContainerWithConnectNamespace, logError, logError, logException, logWarning, matchConnectNamespace, matchContainerID, trace, traceExceptionpublic HostContainerSelector(String[] defaultConfigTypes, boolean autoCreateContainer)
public IRemoteServiceContainer[] selectHostContainers(ServiceReference serviceReference, Map<String,Object> overridingProperties, String[] serviceExportedInterfaces, String[] serviceExportedConfigs, String[] serviceIntents) throws SelectContainerException
IHostContainerSelectorselectHostContainers in interface IHostContainerSelectorserviceReference - the service reference given by the
RemoteServiceAdmin.exportService(ServiceReference, java.util.Map)overridingProperties - the map portion given by the
RemoteServiceAdmin.exportService(ServiceReference, java.util.Map)serviceExportedInterfaces - the exportedInterfaces (typically associated with
RemoteConstants.SERVICE_EXPORTED_INTERFACES
). Will not be null.serviceExportedConfigs - the exportedConfigs (typically associated with
RemoteConstants.SERVICE_EXPORTED_CONFIGS
). May be null.serviceIntents - the service intents (typically associated with
RemoteConstants.SERVICE_EXPORTED_INTENTS
and
RemoteConstants.SERVICE_EXPORTED_INTENTS_EXTRA
). May be null.IRemoteServiceContainerAdapter.registerRemoteService(String[], Object, java.util.Dictionary)
). Will not be null, but may be empty array.SelectContainerException - thrown if the host container selection or
creation/configuration fails.IHostContainerSelector.selectHostContainers(org.osgi.framework.ServiceReference,
java.util.Map, java.lang.String[], java.lang.String[],
java.lang.String[])public void close()
Copyright © 2004–2020 Eclipse Foundation. All rights reserved.