You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by Benson Margulies <bi...@gmail.com> on 2011/11/30 23:51:37 UTC
Two interfaces in one provider bean
Can I just have one bean class that implements both the request and
response filter interfaces?
Re: Two interfaces in one provider bean
Posted by Sergey Beryozkin <sb...@gmail.com>.
Hi Benson
On 30/11/11 22:51, Benson Margulies wrote:
> Can I just have one bean class that implements both the request and
> response filter interfaces?
Sure, just make sure the same instance is referenced in beans xml using
a <ref bean="corsHandler"/> inside jaxrs:providers
Cheers, Sergey