And therefore it is appropriate to say that Features alwayz use Interceptors. A kind of an abstraction over interceptors.
On Mon, Aug 29, 2011 at 8:31 AM, Willem Jiang <[email protected]>wrote: > It will be hard if you has a bunch of interceptors to configure. > CXF Feature gives you a way to configure the interceptors into Server, > Client or Bus easily. > > If you just has one Interceptor need to be use, you don't need to use the > feature :) > > > On 8/28/11 6:54 PM, Raj Floyd wrote: > >> Hi, >> Are Features an abstraction over Interceptors? Like the doc gives an >> example >> of LoggingFeature that in turn uses interceptors to implement logging. So >> when should I use a Feature and Interceptor? >> Thanks. >> Raj >> >> > > -- > Willem > ------------------------------**---- > FuseSource > Web: http://www.fusesource.com > Blog: > http://willemjiang.blogspot.**com<http://willemjiang.blogspot.com>(English) > http://jnn.javaeye.com (Chinese) > Twitter: willemjiang > Weibo: willemjiang >
