users@jersey.java.net

Setting properties for ResourceConfig

From: Harald Kirsch <pifpafpuf_at_gmx.de>
Date: Sun, 27 Jul 2008 11:19:03 +0200

Hi,

my application is started with

    HttpServer server =
      HttpServerFactory.create("http://localhost:"+port+'/');
    server.start();

and works just fine. But it scans each and every entry of the classpath
for resources. It does not really hurt, but it also is not nice, in
particular since there are configuration options to tell explicitly
where to search.

There is javax.ws.rs.core.ApplicationConfig, except that I cannot find
the entry point to put it to use:-(

Any hint appreciated,
Harald.

-- 
--------------+---------------------------------------------
Harald Kirsch | pifpafpuf bei gmx punkt de