-
interface
A
Binding that requires an instance of a concrete
Class to be created.
interface
A
Binding that produces the same non-
null value when requested.
BindingBuilder.to(Class<? extends T> bindingValueClass)
Creates a
Binding that uses an instance of the specified concrete
Class to
construct values for injection.
Creates a
Binding that uses the specified
Supplier for acquiring values for injection.
BindingBuilder.to(T value)
Creates a
Binding that uses the specified value for injection.
Replaces an existing
Binding for this type with an instance of the specified concrete
Class, or registers a new
Binding if none exists.
Replaces an existing
Binding for this type with the specified
Supplier, or registers
a new
Binding if none exists.
Replaces an existing
Binding for this type with the specified value, or registers a new
Binding if none exists.
Attempts to resolve a value for the type specified by the
Dependency.