Hi Mark Thanks. I don't know for sure. Since I haven't explicitly specified a scope, it is whatever the default is (Dependent?). I create an EJBContainer in my test. How do I destroy the context in this case?
- Ranga ________________________________ From: Mark Struberg <[email protected]> To: [email protected]; Ranga S <[email protected]> Sent: Monday, July 18, 2011 1:39 AM Subject: Re: @Disposes 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
