users@jersey.java.net

[Jersey] How to stop initialization of JAX-RS application?

From: Markus Karg <karg_at_quipsy.de>
Date: Fri, 14 Jan 2011 15:57:46 +0100

Dear Jersey Community,

 

I wonder what is the correct way to make Jersey stop initializing an
application?

 

My Application might run into an exception inside of getSingletons(), e.
g. when trying to set up a JAXBContext. How to forward this to Jersey?
It makes no sense to boot up without that context, but getSingletons()
has no throws clause in its signature.

 

???

 

Thanks

Markus