Package io.activej.inject.impl
Interface BindingLocator
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
This function is passed to a
generator when trying to generate a binding.
Generators can depend on other bindings that could not be present but can be generated. This function is used as a mean of recursion - when no requested binding is present it tries to generate it, and it is called from the generator itself.
-
Method Summary
Modifier and TypeMethodDescription<T> @Nullable Binding<T>Retrieves existing binding for given key or tries to recursively generate it from knowngenerators.
-
Method Details
-
get
Retrieves existing binding for given key or tries to recursively generate it from knowngenerators.
-