public interface WeldAfterBeanDiscovery extends AfterBeanDiscovery
AfterBeanDiscovery
.Modifier and Type | Method and Description |
---|---|
<T> WeldBeanConfigurator<T> |
addBean()
Obtain a
WeldBeanConfigurator , an extended version of BeanConfigurator . |
InterceptorConfigurator |
addInterceptor()
Obtain a
InterceptorConfigurator to configure a new Interceptor . |
addBean, addContext, addDefinitionError, addObserverMethod, addObserverMethod, getAnnotatedType, getAnnotatedTypes
InterceptorConfigurator addInterceptor()
InterceptorConfigurator
to configure a new Interceptor
.
The configured interceptor is automatically added at the end of the observer invocation.
Each call returns a new configurator instance.
<T> WeldBeanConfigurator<T> addBean()
WeldBeanConfigurator
, an extended version of BeanConfigurator
.
The configurator behaves in the same manner as BeanConfigurator
.
Configured bean is added automatically at the end of the observer invocation.
Each call returns new configurator instance.
addBean
in interface AfterBeanDiscovery
Copyright © 2019 JBoss by Red Hat. All rights reserved.