users@jersey.java.net

[Jersey] Livetime of singletons

From: Markus Karg <karg_at_quipsy.de>
Date: Fri, 14 Jan 2011 16:56:44 +0100

The description of "Application" doesn't contain information on the
actual livetime of the result of "getSingletons()". I wonder whether it
is valid to return new objects each time, or new objects for each
instance of "Application", or whether "getSingletons()" actually must
return the same object instances always and for all instances (i. e.
final static)?