Uses of Interface
io.smallrye.beanbag.DependencyFilter
-
Uses of DependencyFilter in io.smallrye.beanbag
Fields in io.smallrye.beanbag declared as DependencyFilterModifier and TypeFieldDescriptionstatic final DependencyFilterDependencyFilter.ACCEPTstatic final DependencyFilterDependencyFilter.REJECTMethods in io.smallrye.beanbag that return DependencyFilterModifier and TypeMethodDescriptiondefault DependencyFilterDependencyFilter.and(DependencyFilter other) Create a new filter which returnstruewhen both this filter and the given filter returntrue.default DependencyFilterDependencyFilter.or(DependencyFilter other) Create a new filter which returnstruewhen either this filter or the given filter returntrue.Methods in io.smallrye.beanbag with parameters of type DependencyFilterModifier and TypeMethodDescriptionBeanBag.SupplierBuilder.addConstructorArgument(Class<?> injectType, String beanName, boolean optional, DependencyFilter filter) Add a bean dependency constructor argument injection.default DependencyFilterDependencyFilter.and(DependencyFilter other) Create a new filter which returnstruewhen both this filter and the given filter returntrue.<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.Scope.getAllBeansWithNames(Class<T> type, DependencyFilter filter) Get all constructable beans of the given type as a map.<T> TScope.getBean(Class<T> type, String name, boolean optional, DependencyFilter filter) Get a single bean with the given type and name, with configurable optionality.<T> TScope.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.injectField(Field field, Class<?> injectType, String beanName, boolean optional, DependencyFilter filter) Add a bean dependency field injection.BeanBag.SupplierBuilder.injectField(Field field, String beanName, boolean optional, DependencyFilter filter) Add a bean dependency field injection.BeanBag.SupplierBuilder.injectMethod(Method method, Class<?> injectType, String beanName, boolean optional, DependencyFilter filter) Add a bean dependency method injection.BeanBag.SupplierBuilder.injectMethod(Method method, String beanName, boolean optional, DependencyFilter filter) Add a bean dependency method injection.default DependencyFilterDependencyFilter.or(DependencyFilter other) Create a new filter which returnstruewhen either this filter or the given filter returntrue.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.