Interface DependencySupplier

All Superinterfaces:
Supplier<Object>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface DependencySupplier extends Supplier<Object>
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

    Methods inherited from interface java.util.function.Supplier

    get