public static interface BeanRegistrar.RegistrationContext extends BuildExtension.BuildContext
| Modifier and Type | Method and Description |
|---|---|
BeanStream |
beans()
The returned stream contains all non-synthetic beans (beans derived from classes) and beans
registered by other
BeanRegistrars before the stream is created. |
default <T> BeanConfigurator<T> |
configure(Class<?> beanClass)
Configure a new synthetic bean.
|
<T> BeanConfigurator<T> |
configure(org.jboss.jandex.DotName beanClassName)
Configure a new synthetic bean.
|
get, put<T> BeanConfigurator<T> configure(org.jboss.jandex.DotName beanClassName)
BeanConfigurator.done()
method is called.beanClass - default <T> BeanConfigurator<T> configure(Class<?> beanClass)
BeanConfigurator.done()
method is called.beanClass - BeanStream beans()
BeanRegistrars before the stream is created.Copyright © 2021 JBoss by Red Hat. All rights reserved.