public interface IConsumerContainerSelector
RemoteServiceAdmin.importService(org.osgi.service.remoteserviceadmin.EndpointDescription)), the RSA first gets an instance of this service via the service registry, and then uses it to select an ECF consumer container instance by calling
IRemoteServiceContainer returned is then used on the consumer
side, to actually import the remote service.
If no other instances of this service have been registered, a default
ConsumerContainerSelector will be used. Note that this
default instance is registered with the lowest possible priority, so that if
IConsumerContainerSelector instances are registered, they will
be preferred/used over the default.
IRemoteServiceContainer selectConsumerContainer(EndpointDescription endpointDescription) throws SelectContainerException
endpointDescription- the endpoint description that has been discovered.
nullif not container is available for use as a consumer for the given endpointDescription.
SelectContainerException- thrown if the host container selection or creation/configuration fails.