BeanBag.SupplierBuilder<T> |
BeanBag.SupplierBuilder.addConstructorArgument(Class<?> injectType,
String beanName,
boolean optional,
DependencyFilter filter) |
Add a bean dependency constructor argument injection.
|
default DependencyFilter |
DependencyFilter.and(DependencyFilter other) |
Create a new filter which returns true when both this filter and the given filter return true.
|
<T> List<T> |
Scope.getAllBeans(Class<T> type,
DependencyFilter filter) |
Get all constructable beans of the given type.
|
<T> List<T> |
Scope.getAllBeans(Class<T> type,
String name,
DependencyFilter filter) |
Get all constructable beans of the given type and name.
|
<T> Map<String,T> |
Scope.getAllBeansWithNames(Class<T> type,
DependencyFilter filter) |
Get all constructable beans of the given type as a map.
|
<T> T |
Scope.getBean(Class<T> type,
String name,
boolean optional,
DependencyFilter filter) |
Get a single bean with the given type and name, with configurable optionality.
|
<T> T |
Scope.getOptionalBean(Class<T> type,
String name,
DependencyFilter filter) |
Get a single bean with the given type and name, if it exists and can be instantiated.
|
BeanBag.SupplierBuilder<T> |
BeanBag.SupplierBuilder.injectField(Field field,
Class<?> injectType,
String beanName,
boolean optional,
DependencyFilter filter) |
Add a bean dependency field injection.
|
BeanBag.SupplierBuilder<T> |
BeanBag.SupplierBuilder.injectField(Field field,
String beanName,
boolean optional,
DependencyFilter filter) |
Add a bean dependency field injection.
|
BeanBag.SupplierBuilder<T> |
BeanBag.SupplierBuilder.injectMethod(Method method,
Class<?> injectType,
String beanName,
boolean optional,
DependencyFilter filter) |
Add a bean dependency method injection.
|
BeanBag.SupplierBuilder<T> |
BeanBag.SupplierBuilder.injectMethod(Method method,
String beanName,
boolean optional,
DependencyFilter filter) |
Add a bean dependency method injection.
|
default DependencyFilter |
DependencyFilter.or(DependencyFilter other) |
Create a new filter which returns true when either this filter or the given filter return true.
|
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.
|