Interface BeanRegistrar.RegistrationContext

All Superinterfaces:
BuildExtension.BuildContext
Enclosing interface:
BeanRegistrar

public static interface BeanRegistrar.RegistrationContext extends BuildExtension.BuildContext
  • Method Details

    • configure

      <T> BeanConfigurator<T> configure(org.jboss.jandex.DotName beanClassName)
      Configure a new synthetic bean. The bean is not added to the deployment unless the BeanConfigurator.done() method is called.
      Parameters:
      beanClass -
      Returns:
      a new synthetic bean configurator
    • configure

      default <T> BeanConfigurator<T> configure(Class<?> beanClass)
      Configure a new synthetic bean. The bean is not added to the deployment unless the BeanConfigurator.done() method is called.
      Parameters:
      beanClass -
      Returns:
      a new synthetic bean configurator
    • configureInterceptor

      InterceptorConfigurator configureInterceptor(jakarta.enterprise.inject.spi.InterceptionType interceptionType)
      Configure a new synthetic interceptor. The interceptor is not added to the deployment unless the InterceptorConfigurator.creator(Class) method is called.
      Parameters:
      interceptionType -
      Returns:
      a new synthetic interceptor configurator
    • beans

      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.
      Returns:
      a new stream of beans
    • getInjectionPoints

      default Collection<InjectionPointInfo> getInjectionPoints()