dev@jersey.java.net

[WebDAV] Application.getSingletons() not called

From: Markus KARG <markus.karg_at_gmx.net>
Date: Sun, 21 Dec 2008 19:01:21 +0100

Paul,

 

to be able to support "unknown" XML extensions in our WebDAV code, we need
to allow the JAX-RS developer to add classes to the JAXBContext. We
developed a ContextResolver which works pretty well, and we want to have it
configured and instantiated in Application.getSingletons(). But: Neither
getClasses() nor getSingletons() is called EVER (we even added
System.exit(0) but the program runs well... so we're pretty sure).

 

Is that a bug in Jersey? Or what is our fault?

 

Thanks

Markus