users@jersey.java.net
[Jersey] Re: jersey how to support or implement Init and Destroy function?
This message
: [
Message body
] [ More options (
top
,
bottom
) ]
Related messages
: [
Next message
] [
Previous message
] [
In reply to
]
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]
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.
>
This message
: [
Message body
]
Next message
:
Jakub Podlesak: "[Jersey] Re: Marshall Exception with linked JAXB exception when sending a map with a list"
Previous message
:
Jakub Podlesak: "[Jersey] Re: Is it possible to set the Principal in ContainerRequestFilter"
In reply to
:
pclovec: "[Jersey] jersey how to support or implement Init and Destroy function?"
Contemporary messages sorted
: [
by date
] [
by thread
] [
by subject
] [
by author
] [
by messages with attachments
]