Overriding javax.ws.rs.core.Application.getClasses() will do what I want. It would be nice/easier though if there was a way to instead specify those resources/providers I want to exclude.

On Aug 3, 2015, at 10:15 AM, John Sanda <jsanda@redhat.com> wrote:

I want to implement an endpoint that is deployed only for tests. If I could programmatically create JAX-RS resources, this this would be easy; however, I do not think it is supported. Does anyone have any recommendations on how to do this?

- John
_______________________________________________
hawkular-dev mailing list
hawkular-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/hawkular-dev