Thank you Jozef! ah. I failed to spot this particular method.
On Mon, Aug 10, 2015 at 4:20 PM, Jozef Hartinger <jharting(a)redhat.com>
there is an overloaded fireProcessInjectionTarget method here:
that allows you to pass in any InjectionTarget instance. You can therefore
build any InjectionTarget using WeldInjectionTargetFactory or
WeldInjectionTargetBuilder and then fire the event using the aforementioned
On 6.8.2015 12:16, Emily Jiang wrote:
> According to the CDI 1.2 spec, the container must fire Processing
> Injection Target event for all Java EE component classes. The Java EE
> component classes are listed in the table EE-5.1, shown below.
> Inline image 1
> Weld provides an api WeldManager.fireProcessInjectionTarget, which can
> be used to fire events for all other JavaEE component classes except the
> interceptors . For EJB style interceptors, we have to use
> WeldInjectionTargetFactory.createInterceptorInjectionTarget() (creating
> a non-proxy instance) but it does not fire events. Are there any other
> API to fire processing injection targets for EJB-style interceptors? Am
> I missing something?
> Emily Jiang
> ejiang(a)apache.org <mailto:firstname.lastname@example.org>
> weld-dev mailing list