public interface BinderConfigurationFactory
BinderConfigurationFactory.BinderConfiguration
classes used to configure Binders registered
to a configuration. While it is created for a backward compatibility with HK2 AbstractBinder
to be
able to be registered to a configuration (while HK2 injection module is on the classpath), a factory
implementing this interface is used for registering Jersey AbstractBinder
, too.Modifier and Type | Interface and Description |
---|---|
static interface |
BinderConfigurationFactory.BinderConfiguration
This configuration object configure all the instances provided by the
getInstances function passed from the
factory createBinderConfiguration(Function) method. |
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. |
BinderConfigurationFactory.BinderConfiguration createBinderConfiguration(Function<Predicate<ContractProvider>,Set<Object>> getInstances)
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.getInstances
- 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-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.