users@jax-rs-spec.java.net

[jax-rs-spec users] [jsr339-experts] More allowable component types for DynamicFeature?

From: Bill Burke <bburke_at_redhat.com>
Date: Tue, 19 Feb 2013 12:54:25 -0500

DynamicFeature only allows you to register filter and interceptors. I
can see somebody also wanting to register a ContextResolver per method,
or even a specific MBR/MBW.

For example:

@PrettyPrint
@GET
@Produces("application/xml")
public MyJaxb get() {...}

@PrettyPrint would trigger an addition of a JAXBContext conext resolver
that set the appropriate settings for that context.
-- 
Bill Burke
JBoss, a division of Red Hat
http://bill.burkecentral.com