Hi Im trying to use CDI extensions to discover jaxrs resources at runtime and automatically publish them under different base URIs in a Java SE environment. Applications should not need to extend javax.ws.rs.core.Application themselves if possible.
I have read RestEasy documentation and javadoc but failed to find any obvious way to modify the @ApplicationPath at runtime. One idea that im exploring is to try generate javax.ws.rs.core.Application and set the @ApplicationPath base URI programmatically, maybe by using an AnnotatedType CDI extension, and publish that as a org.jboss.resteasy.spi.ResteasyDeployment. Also been looking at org.jboss.resteasy.core.Dispatcher and org.jboss.resteasy.spi.Registry. Are there other/better ways to do this? Cheers, -Kristoffer ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users