|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractContainerSelector org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractHostContainerSelector org.eclipse.ecf.osgi.services.remoteserviceadmin.HostContainerSelector
public class HostContainerSelector
Default implementation of IHostContainerSelector
service.
Field Summary |
---|
Fields inherited from class org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractHostContainerSelector |
---|
defaultConfigTypes |
Fields inherited from class org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractContainerSelector |
---|
EMPTY_REMOTE_SERVICE_CONTAINER_ARRAY |
Constructor Summary | |
---|---|
HostContainerSelector(java.lang.String[] defaultConfigTypes,
boolean autoCreateContainer)
|
Method Summary | |
---|---|
void |
close()
|
IRemoteServiceContainer[] |
selectHostContainers(org.osgi.framework.ServiceReference serviceReference,
java.lang.String[] serviceExportedInterfaces,
java.lang.String[] serviceExportedConfigs,
java.lang.String[] serviceIntents)
Select host containers to use to export a remote service. |
Methods inherited from class org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractHostContainerSelector |
---|
connectHostContainer, createAndConfigureHostContainers, createMatchingContainer, createRSContainer, getContainerTypeDescriptionsForDefaultConfigTypes, getDefaultConfigTypes, matchDefaultConfigTypes, matchExistingHostContainer, matchHostContainerID, matchHostContainerToConnectTarget, matchHostSupportedConfigTypes, matchHostSupportedIntents, selectExistingHostContainers |
Methods inherited from class org.eclipse.ecf.osgi.services.remoteserviceadmin.AbstractContainerSelector |
---|
connectContainer, createConnectContext, createContainer, createTargetID, disconnectContainer, getContainerFactory, getContainerManager, getContainers, getContainerTypeDescription, getContainerTypeDescriptions, 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 |
---|
public HostContainerSelector(java.lang.String[] defaultConfigTypes, boolean autoCreateContainer)
Method Detail |
---|
public IRemoteServiceContainer[] selectHostContainers(org.osgi.framework.ServiceReference serviceReference, java.lang.String[] serviceExportedInterfaces, java.lang.String[] serviceExportedConfigs, java.lang.String[] serviceIntents)
IHostContainerSelector
selectHostContainers
in interface IHostContainerSelector
serviceReference
- the service reference 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.public void close()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |