The @Disposes will get called once the Context gets destroyed. For a 
@RequestScoped bean thats at the end of the request.
Are you sure the context gets cleaned up?

lLieGrue,
strub

--- On Mon, 7/18/11, Ranga S <[email protected]> wrote:

> From: Ranga S <[email protected]>
> Subject: Re: @Disposes
> To: "[email protected]" <[email protected]>
> Date: Monday, July 18, 2011, 5:33 AM
> Hi Karan
> 
> Could you assign the following JIRA ticket to me? I'll
> upload the code to the ticket.
> https://issues.apache.org/jira/browse/OPENEJB-1613
> 
> 
> - Ranga
> 
> 
> ________________________________
> From: Karan Malhi <[email protected]>
> To: [email protected];
> Ranga S <[email protected]>
> Sent: Sunday, July 17, 2011 8:25 PM
> Subject: Re: @Disposes
> 
> Hi Ranga,
> 
> Is it possible to share the code? Might make it a bit
> easier to
> discuss the issue and extend some suggestions on it.
> 
> On Sun, Jul 17, 2011 at 9:17 PM, Ranga S <[email protected]>
> wrote:
> > Hi
> >
> > I am trying to get an example working with the
> "@Disposes" annotation. The "@Produces" method gets invoked
> properly. However, the "@Disposes" method doesn't get
> invoked. I don't see any errors either.
> > Could someone help me out?
> >
> >
> > - Ranga
> 
> 
> 
> -- 
> 
> Karan Singh Malhi
> twitter.com/KaranSinghMalhi

Reply via email to