Uses of Class
io.smallrye.beanbag.BeanBag.BeanBuilder
-
Uses of BeanBag.BeanBuilder in io.smallrye.beanbag
Methods in io.smallrye.beanbag that return BeanBag.BeanBuilderModifier and TypeMethodDescriptionAdd another name that this bean can be identified by.<T> BeanBag.BeanBuilder<T> Add a new bean with the given type, returning a builder to configure it.BeanBag.BeanBuilder.addRestrictedTypes(Collection<Class<? super T>> types) Restrict the types of this bean.BeanBag.SupplierBuilder.build()Commit this supplier definition into the enclosing bean builder.BeanBag.BeanBuilder.setInstance(T instance) Set the supplier for this bean to a literal instance.Set the bean name.BeanBag.BeanBuilder.setPriority(int priority) Set the bean priority.BeanBag.BeanBuilder.setSingleton(boolean singleton) Set the singleton flag for this bean.BeanBag.BeanBuilder.setSupplier(BeanSupplier<T> supplier) Set the supplier for this bean.