public class HK2BinderConfigurationFactory extends Object implements BinderConfigurationFactory
BinderConfigurationFactory that binds HK2 AbstractBinder as well as other
HK2 Binder implementationBinderConfigurationFactory.BinderConfiguration| Constructor and Description |
|---|
HK2BinderConfigurationFactory() |
| Modifier and Type | Method and Description |
|---|---|
BinderConfigurationFactory.BinderConfiguration |
createBinderConfiguration(Function<Predicate<ContractProvider>,Set<Object>> getInstances)
Creates a
BinderConfigurationFactory.BinderConfiguration instance that has a reference to getInstances function returning all
registered instances filtered by provided Predicate that can be further traversed and configured. |
public BinderConfigurationFactory.BinderConfiguration createBinderConfiguration(Function<Predicate<ContractProvider>,Set<Object>> getInstances)
BinderConfigurationFactoryBinderConfigurationFactory.BinderConfiguration instance that has a reference to getInstances function returning all
registered instances filtered by provided Predicate that can be further traversed and configured.createBinderConfiguration in interface BinderConfigurationFactorygetInstances - a function returning filtered instances registered to a configuration. The
Predicate is used to filter out all the instances not to be further processed by the
BinderConfigurationFactory.BinderConfiguration.BinderConfigurationFactory.BinderConfiguration instance used to register/configure the provided filtered instances.Copyright © 2007-2019, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.