A B D E G I M N O R S T U
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- ACCEPT - Static variable in interface io.smallrye.beanbag.DependencyFilter
- addAlias(String) - Method in class io.smallrye.beanbag.BeanBag.BeanBuilder
-
Add another name that this bean can be identified by.
- addBean(Class<T>) - Method in class io.smallrye.beanbag.BeanBag.Builder
-
Add a new bean with the given type, returning a builder to configure it.
- addBeanInstance(T) - Method in class io.smallrye.beanbag.BeanBag.Builder
-
Add a new bean which resolves to the given instance.
- addConstructorArgument(BeanSupplier<?>) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a general constructor argument injection.
- addConstructorArgument(Class<?>) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency constructor argument injection.
- addConstructorArgument(Class<?>, boolean) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency constructor argument injection.
- addConstructorArgument(Class<?>, String) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency constructor argument injection.
- addConstructorArgument(Class<?>, String, boolean) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency constructor argument injection.
- addConstructorArgument(Class<?>, String, boolean, DependencyFilter) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency constructor argument injection.
- addRestrictedTypes(Collection<Class<? super T>>) - Method in class io.smallrye.beanbag.BeanBag.BeanBuilder
-
Restrict the types of this bean.
- and(DependencyFilter) - Method in interface io.smallrye.beanbag.DependencyFilter
-
Create a new filter which returns
truewhen both this filter and the given filter returntrue.
B
- BeanBag - Class in io.smallrye.beanbag
-
A basic bean container.
- BeanBag.BeanBuilder<T> - Class in io.smallrye.beanbag
-
A builder for an individual bean's configuration.
- BeanBag.Builder - Class in io.smallrye.beanbag
-
A builder for a new container.
- BeanBag.SupplierBuilder<T> - Class in io.smallrye.beanbag
-
A builder for a bean supplier which constructs a bean using reflection.
- BeanInstantiationException - Exception in io.smallrye.beanbag
-
An exception indicating that a required bean failed to be instantiated.
- BeanInstantiationException() - Constructor for exception io.smallrye.beanbag.BeanInstantiationException
-
Constructs a new
BeanInstantiationExceptioninstance. - BeanInstantiationException(String) - Constructor for exception io.smallrye.beanbag.BeanInstantiationException
-
Constructs a new
BeanInstantiationExceptioninstance with an initial message. - BeanInstantiationException(String, Throwable) - Constructor for exception io.smallrye.beanbag.BeanInstantiationException
-
Constructs a new
BeanInstantiationExceptioninstance with an initial message and cause. - BeanInstantiationException(Throwable) - Constructor for exception io.smallrye.beanbag.BeanInstantiationException
-
Constructs a new
BeanInstantiationExceptioninstance with an initial cause. - BeanSupplier<T> - Interface in io.smallrye.beanbag
-
A value supplier for use from within a given scope.
- build() - Method in class io.smallrye.beanbag.BeanBag.BeanBuilder
-
Commit this bean definition into the enclosing container builder.
- build() - Method in class io.smallrye.beanbag.BeanBag.Builder
-
Build a new container instance with the beans that were previously configured in this builder.
- build() - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Commit this supplier definition into the enclosing bean builder.
- builder() - Static method in class io.smallrye.beanbag.BeanBag
-
Construct a new container builder.
- buildSupplier() - Method in class io.smallrye.beanbag.BeanBag.BeanBuilder
-
Construct a reflective supplier for this bean.
D
- DependencyFilter - Interface in io.smallrye.beanbag
-
A filter which can be used to reject dependency candidates.
E
- excludePackage(String) - Method in class io.smallrye.beanbag.BeanBag.Builder
-
Exclude beans whose Java packages start with the value of the argument.
G
- get(Scope) - Method in interface io.smallrye.beanbag.BeanSupplier
-
Get the supplied value.
- getAllBeans(Class<T>) - Method in class io.smallrye.beanbag.BeanBag
-
Get all constructable beans of the given type from a new resolution scope.
- getAllBeans(Class<T>) - Method in class io.smallrye.beanbag.Scope
-
Get all constructable beans of the given type.
- getAllBeans(Class<T>, DependencyFilter) - Method in class io.smallrye.beanbag.Scope
-
Get all constructable beans of the given type.
- getAllBeans(Class<T>, String) - Method in class io.smallrye.beanbag.Scope
-
Get all constructable beans of the given type and name.
- getAllBeans(Class<T>, String, DependencyFilter) - Method in class io.smallrye.beanbag.Scope
-
Get all constructable beans of the given type and name.
- getAllBeansWithNames(Class<T>, DependencyFilter) - Method in class io.smallrye.beanbag.Scope
-
Get all constructable beans of the given type as a map.
- getBean(Class<T>, String, boolean, DependencyFilter) - Method in class io.smallrye.beanbag.Scope
-
Get a single bean with the given type and name, with configurable optionality.
- getContainer() - Method in class io.smallrye.beanbag.Scope
- getOptionalBean(Class<T>) - Method in class io.smallrye.beanbag.BeanBag
-
Get a single bean with the given type from a new resolution scope, if it exists and can be instantiated.
- getOptionalBean(Class<T>) - Method in class io.smallrye.beanbag.Scope
-
Get a single bean with the given type, if it exists and can be instantiated.
- getOptionalBean(Class<T>, String) - Method in class io.smallrye.beanbag.BeanBag
-
Get a single bean with the given type and name from a new resolution scope, if it exists and can be instantiated.
- getOptionalBean(Class<T>, String) - Method in class io.smallrye.beanbag.Scope
-
Get a single bean with the given type and name, if it exists and can be instantiated.
- getOptionalBean(Class<T>, String, DependencyFilter) - Method in class io.smallrye.beanbag.Scope
-
Get a single bean with the given type and name, if it exists and can be instantiated.
I
- includePackage(String) - Method in class io.smallrye.beanbag.BeanBag.Builder
-
Include beans whose Java packages start with the value of the argument, unless there is a matching exclude package filter.
- injectField(Field) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency field injection.
- injectField(Field, boolean) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency field injection.
- injectField(Field, BeanSupplier<?>) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a general field injection.
- injectField(Field, Class<?>, String, boolean, DependencyFilter) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency field injection.
- injectField(Field, String) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency field injection.
- injectField(Field, String, boolean) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency field injection.
- injectField(Field, String, boolean, DependencyFilter) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency field injection.
- InjectionException - Exception in io.smallrye.beanbag
-
An exception indicating that a failure occurred specifically with injection.
- InjectionException() - Constructor for exception io.smallrye.beanbag.InjectionException
-
Constructs a new
InjectionExceptioninstance. - InjectionException(String) - Constructor for exception io.smallrye.beanbag.InjectionException
-
Constructs a new
InjectionExceptioninstance with an initial message. - InjectionException(String, Throwable) - Constructor for exception io.smallrye.beanbag.InjectionException
-
Constructs a new
InjectionExceptioninstance with an initial message and cause. - InjectionException(Throwable) - Constructor for exception io.smallrye.beanbag.InjectionException
-
Constructs a new
InjectionExceptioninstance with an initial cause. - injectMethod(Method) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency method injection.
- injectMethod(Method, boolean) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency method injection.
- injectMethod(Method, BeanSupplier<?>) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a general method injection.
- injectMethod(Method, Class<?>, String, boolean, DependencyFilter) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency method injection.
- injectMethod(Method, String) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency method injection.
- injectMethod(Method, String, boolean) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency method injection.
- injectMethod(Method, String, boolean, DependencyFilter) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Add a bean dependency method injection.
- io.smallrye.beanbag - package io.smallrye.beanbag
-
Classes which implement a simple, programmatic bean container.
- isTypeFilteredOut(String) - Method in class io.smallrye.beanbag.BeanBag.Builder
M
- mapList(List<T>, Function<T, R>, IntFunction<R[]>) - Static method in class io.smallrye.beanbag.Util
-
Efficiently create a copy of the input list with each list element being transformed by the given function.
N
- newScope() - Method in class io.smallrye.beanbag.BeanBag
-
Create a new resolution scope.
- NoSuchBeanException - Exception in io.smallrye.beanbag
-
An exception which indicates that a required bean is not present or resolvable in the scope.
- NoSuchBeanException() - Constructor for exception io.smallrye.beanbag.NoSuchBeanException
-
Constructs a new
NoSuchBeanExceptioninstance. - NoSuchBeanException(String) - Constructor for exception io.smallrye.beanbag.NoSuchBeanException
-
Constructs a new
NoSuchBeanExceptioninstance with an initial message. - NoSuchBeanException(String, Throwable) - Constructor for exception io.smallrye.beanbag.NoSuchBeanException
-
Constructs a new
NoSuchBeanExceptioninstance with an initial message and cause. - NoSuchBeanException(Throwable) - Constructor for exception io.smallrye.beanbag.NoSuchBeanException
-
Constructs a new
NoSuchBeanExceptioninstance with an initial cause.
O
- of(T) - Static method in interface io.smallrye.beanbag.BeanSupplier
-
Get a bean supplier which always returns the given value.
- or(DependencyFilter) - Method in interface io.smallrye.beanbag.DependencyFilter
-
Create a new filter which returns
truewhen either this filter or the given filter returntrue.
R
- REJECT - Static variable in interface io.smallrye.beanbag.DependencyFilter
- requireBean(Class<T>) - Method in class io.smallrye.beanbag.BeanBag
-
Require a single bean with the given type from a new resolution scope.
- requireBean(Class<T>) - Method in class io.smallrye.beanbag.Scope
-
Require a single bean with the given type.
- requireBean(Class<T>, String) - Method in class io.smallrye.beanbag.BeanBag
-
Require a single bean with the given type and name from a new resolution scope.
- requireBean(Class<T>, String) - Method in class io.smallrye.beanbag.Scope
-
Require a single bean with the given type and name.
- resolving(Class<T>, String, boolean, DependencyFilter) - Static method in interface io.smallrye.beanbag.BeanSupplier
-
Get a bean supplier whose value is the result of resolution of a bean with the given parameters.
- resolvingAll(Class<T>, String, DependencyFilter) - Static method in interface io.smallrye.beanbag.BeanSupplier
-
Get a bean supplier whose value is a list representing the result of resolving all the beans with the given parameters.
- resolvingAllByName(Class<T>, DependencyFilter) - Static method in interface io.smallrye.beanbag.BeanSupplier
-
Get a bean supplier whose value is a map representing the result of resolving all the beans with the given parameters.
S
- Scope - Class in io.smallrye.beanbag
-
A (potentially nested) scope from which bean instances may be acquired.
- setConstructor(Constructor<T>) - Method in class io.smallrye.beanbag.BeanBag.SupplierBuilder
-
Set the constructor to use to instantiate the bean.
- setInstance(T) - Method in class io.smallrye.beanbag.BeanBag.BeanBuilder
-
Set the supplier for this bean to a literal instance.
- setName(String) - Method in class io.smallrye.beanbag.BeanBag.BeanBuilder
-
Set the bean name.
- setPriority(int) - Method in class io.smallrye.beanbag.BeanBag.BeanBuilder
-
Set the bean priority.
- setSingleton(boolean) - Method in class io.smallrye.beanbag.BeanBag.BeanBuilder
-
Set the singleton flag for this bean.
- setSupplier(BeanSupplier<T>) - Method in class io.smallrye.beanbag.BeanBag.BeanBuilder
-
Set the supplier for this bean.
T
- test(Class<?>, String, int) - Method in interface io.smallrye.beanbag.DependencyFilter
-
Test to see whether the dependency is acceptable.
- transform(Function<T, U>) - Method in interface io.smallrye.beanbag.BeanSupplier
-
Get a bean supplier which applies the given transformation function to the result of this supplier.
U
- Util - Class in io.smallrye.beanbag
-
Shared utilities.
All Classes All Packages