users@jersey.java.net

[Jersey] Re: jersey how to support or implement Init and Destroy function?

From: Jakub Podlesak <jakub.podlesak_at_oracle.com>
Date: Mon, 17 Oct 2011 13:04:01 +0200

Hi,

You should be able to mark your resource/provider post construct/pre
destroy methods
with javax.annotation.PostConstruct and javax.annotation.PreDestroy
annotations
and get them invoked automatically on these events.

HTH,

~Jakub


On 15.10.2011 0:10, pclovec wrote:
> Thanks
>
> --
> View this message in context: http://jersey.576304.n2.nabble.com/jersey-how-to-support-or-implement-Init-and-Destroy-function-tp6894201p6894201.html
> Sent from the Jersey mailing list archive at Nabble.com.
>