SessionBean<?> sessionBean = (SessionBean<?>) bean;
this.injectionTarget = sessionBean.getInjectionTarget();
return;
}
WeldInjectionTarget injectionTarget = InjectionTargets.createInjectionTarget(componentClass, bean, beanManager, !Utils.isComponentWithView(componentDescription));
if (componentDescription instanceof MessageDrivenComponentDescription
|| componentDescription instanceof WebComponentDescription
|| componentDescription instanceof WSComponentDescription) {
// fire ProcessInjectionTarget for non-contextual components
this.injectionTarget = beanManager.fireProcessInjectionTarget(injectionTarget.getAnnotatedType(),
injectionTarget);
} else {
this.injectionTarget = injectionTarget;
}
beanManager.getServices().get(InjectionTargetService.class).validateProducer(injectionTarget);