users@jersey.java.net

Destroying injected context at the end of resource lifecycle

From: Roytman, Alex <Roytmana_at_peacetech.com>
Date: Thu, 5 Feb 2009 19:12:39 -0500

Hello,

I am very new to Jersey, so forgive me if my question is silly.

I would like to annotate some resources with a custom annotation to inject JDO PersistenceManager but I must have some way to close it at the end of resource lifecycle. I was browsing source code but could not find any way to accomplish it.

Could you point me in right direction?

Thank you,
Alex