public class CompositeBinder extends AbstractBinder
Binder
is able to recursively register all injection binding descriptions in all installed binders.
Modifier and Type | Method and Description |
---|---|
void |
configure()
Automatically installed all provided binders.
|
static AbstractBinder |
wrap(Binder... binders)
Creates
CompositeBinder with provided binders. |
static AbstractBinder |
wrap(Collection<Binder> binders)
Creates
CompositeBinder with provided binders. |
bind, bind, bind, bind, bindAsContract, bindAsContract, bindAsContract, bindFactory, bindFactory, bindFactory, createManagedInstanceProvider, getBindings, install
public static AbstractBinder wrap(Collection<Binder> binders)
CompositeBinder
with provided binders.binders
- provided binder to install as a collection.public static AbstractBinder wrap(Binder... binders)
CompositeBinder
with provided binders.binders
- provided binder to install as an array.public void configure()
configure
in class AbstractBinder
Copyright © 2007-2024, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.