Defining in the XML Is fine. I'm just working out how the compare method
for a method is supposed to work with my example... 

-- 
John Baker

On Mon, Jul 29, 2013, at 01:02 PM, Sergey Beryozkin wrote:
> On 29/07/13 12:59, John Baker wrote:
> >
> >> Have you read the section :-) ?
> >
> > Yes but not well enough.
> >
> >> It says:
> >> "Starting from CXF 2.2.5 it is possible to register a custom
> >> ResourceComparator implementation using a
> >> jaxrs:server/resourceComparator element."
> >>
> >> Actually, it has to be "jaxrs:server/jaxrs:resourceComparator", will fix
> >> it
> >
> > Ah, you're referring to the Spring element. I think a short example that
> > looks like XML would be superb at that position :)
> >
> OK. I can do that.
> 
> re the possible annotation: probably not possible, RC can select both 
> classes & operations, the former function is mostly redundant with 
> JAX-RS 2.0, but it would be tricky to manage RCs declared at multiple 
> class or method levels
> 
> Sergey
> 
> > Thanks!
> >
> 
> 

Reply via email to