BeanBag.BeanBuilder<T> |
BeanBag.BeanBuilder.addAlias(String alias) |
Add another name that this bean can be identified by.
|
<T> BeanBag.BeanBuilder<T> |
BeanBag.Builder.addBean(Class<T> type) |
Add a new bean with the given type, returning a builder to configure it.
|
BeanBag.BeanBuilder<T> |
BeanBag.BeanBuilder.addRestrictedTypes(Collection<Class<? super T>> types) |
Restrict the types of this bean.
|
BeanBag.BeanBuilder<T> |
BeanBag.SupplierBuilder.build() |
Commit this supplier definition into the enclosing bean builder.
|
BeanBag.BeanBuilder<T> |
BeanBag.BeanBuilder.setInstance(T instance) |
Set the supplier for this bean to a literal instance.
|
BeanBag.BeanBuilder<T> |
BeanBag.BeanBuilder.setName(String name) |
Set the bean name.
|
BeanBag.BeanBuilder<T> |
BeanBag.BeanBuilder.setPriority(int priority) |
Set the bean priority.
|
BeanBag.BeanBuilder<T> |
BeanBag.BeanBuilder.setSingleton(boolean singleton) |
Set the singleton flag for this bean.
|
BeanBag.BeanBuilder<T> |
BeanBag.BeanBuilder.setSupplier(BeanSupplier<T> supplier) |
Set the supplier for this bean.
|