On May 3, 2013, at 10:45 AM, remo408 <[email protected]> wrote:

> HI Yue,
> 
> I want my interceptor to be called before my serviceimpl but with
> phase.Invoke the behavior looks different it is getting called after the
> serviceimpl call.

The call into the service is done by an interceptor that runs in the invoke 
phase.     Thus, your interceptor will be in the same phase and your 
interceptor may or may not be placed before the ServiceInvokerInterceptor.   My 
suggestion would be to move your interceptor up a phase  (PRE_INVOKE).     If 
you cannot, then in your constructor, do a:

addBefore(ServiceInvokerInterceptor.class.getName());



-- 
Daniel Kulp
[email protected] - http://dankulp.com/blog
Talend Community Coder - http://coders.talend.com

Reply via email to