static <T> BeanSupplier<T> |
BeanSupplier.of(T instance) |
Get a bean supplier which always returns the given value.
|
static <T> BeanSupplier<T> |
BeanSupplier.resolving(Class<T> type,
String name,
boolean optional,
DependencyFilter filter) |
Get a bean supplier whose value is the result of resolution of a bean with the given parameters.
|
static <T> BeanSupplier<List<T>> |
BeanSupplier.resolvingAll(Class<T> type,
String name,
DependencyFilter filter) |
Get a bean supplier whose value is a list representing the result of resolving all the beans with the given parameters.
|
static <T> BeanSupplier<Map<String,T>> |
BeanSupplier.resolvingAllByName(Class<T> type,
DependencyFilter filter) |
Get a bean supplier whose value is a map representing the result of resolving all the beans with the given parameters.
|
default <U> BeanSupplier<U> |
BeanSupplier.transform(Function<T,U> function) |
Get a bean supplier which applies the given transformation function to the result of this supplier.
|