fire ProcessBean event only once for custom bean.
@@ -249,11 +249,12 @@ public class ContainerLifecycleEvents extends AbstractBootstrapService {
} else {
if (extension != null) {
ProcessSynthethicBeanImpl.fire(beanManager, bean, extension);
- }
+ } else {
ProcessBeanImpl.fire(beanManager, bean);
}
}
}
+ }
public <T> ProcessBeanAttributesImpl<T> fireProcessBeanAttributes(BeanManagerImpl beanManager, BeanAttributes<T> attributes, Annotated annotated,
Type type) {
