public static final class ServiceRegistrySelectors.SelectByType extends Object implements ServiceRegistry.Selector
Constructor and Description |
---|
SelectByType(Class<? extends ServiceRegistry> type) |
Modifier and Type | Method and Description |
---|---|
Optional<ServiceRegistry> |
select(Collection<ServiceRegistry> services)
Select a specific ServiceRegistry instance among a collection.
|
public SelectByType(Class<? extends ServiceRegistry> type)
public Optional<ServiceRegistry> select(Collection<ServiceRegistry> services)
ServiceRegistry.Selector
select
in interface ServiceRegistry.Selector
Apache Camel