http://scannotation.sourceforge.net/
wrote a blog about this a *LONG* time ago too: http://bill.burkecentral.com/2008/01/14/scanning-java-annotations-at-runtime/ On 4/22/2013 4:15 PM, Per Norrman wrote: > Hi, > > I am looking at using NettyJaxrsServer, but want to scan certain pieces > of the > classpath for resources and providers, instead of maintaining them > explicitly > in an Application class. > > 1) Is there an example of such usage? It doesn't have to be Netty, but > an example of > how to scan for resources outside of an servlet container. > > 2) If the answer to1) is no, I will have a go on it myself. My guess is > that I will have to > create a ConfigurationBootstrap sub class and use that to create a > ResteasyDeployment. > Is that a correct initial assumption? > > Thanks! > > /Per Norrman > > > ------------------------------------------------------------------------------ > Precog is a next-generation analytics platform capable of advanced > analytics on semi-structured data. The platform includes APIs for building > apps and a phenomenal toolset for data science. Developers can use > our toolset for easy data analysis & visualization. Get a free account! > http://www2.precog.com/precogplatform/slashdotnewsletter > > > > _______________________________________________ > Resteasy-users mailing list > Resteasy-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/resteasy-users > -- Bill Burke JBoss, a division of Red Hat http://bill.burkecentral.com ------------------------------------------------------------------------------ Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis & visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter _______________________________________________ Resteasy-users mailing list Resteasy-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/resteasy-users