Package studio.mevera.imperat.resolvers
Interface DependencySupplier
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface that supplies a generic dependency
object. This interface extends the
Supplier interface
from the Java standard library, allowing it to be used
directly in scenarios where a Supplier<Object> is expected.
This interface is designed to act as a generic provider of dependency objects in various contexts, enabling dependency resolution or injection frameworks to handle or supply appropriate objects dynamically at runtime.
Being a functional interface, it can be implemented using a lambda expression or a method reference to streamline the handling of such suppliers.-
Method Summary