What I meant was that your PlainInterceptorFactory should in this case, 
instead of calling createInterceptorInjectionTarget(), call

beanManager.createInjectionTargetBuilder(type)
     .setDecorationEnabled(false)
     .setInterceptionEnabled(false)
     .setTargetClassLifecycleCallbacksEnabled(false)
     .setResourceInjectionEnabled(true)
     .build()

The InjectionTarget you get should be the same except for resource 
injection which will be provided by Weld.

Jozef

On 06/03/2015 11:25 AM, Emily Jiang wrote:
> I might have missed your point. Please elaborate a bit more.

_______________________________________________
weld-dev mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-dev

Reply via email to