On 29/07/13 12:52, John Baker wrote:

use CXF ResourceComparator,
http://cxf.apache.org/docs/jax-rs-basics.html#JAX-RSBasics-Customselectionbetweenmultipleresources

How is the ResourceComparator implementation registered with the
service? Can it be done via an annotation on the interface?


Have you read the section :-) ?
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

Sergey

--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to