Sure - where is it?  I don't see anything looking likely in
org/jboss/tm...

Aaron

On Fri, 29 Sep 2000, marc fleury wrote:
> ts-ts aaron...
> 
> how do you think we keep track of the instance that called the
> UserTransaction through JNDI is jboss?
> 
> :)
> 
> marc
> 
> PS: come on go check it out: Sebastien wrote that code.  Yes this is where
> thread local setting before passing on the call works.
> 
> 
> 
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Mulder
> > Sent: Friday, September 29, 2000 12:03 PM
> > To: jBoss Developer
> > Subject: Re: [jBoss-Dev] Connections in Instance Variables
> >
> >
> > On Fri, 29 Sep 2000, Dan OConnor wrote:
> > > Hi Aaron,
> > >
> > > If a bean "checks out" a connection from the pool, and doesn't put
> > > it back (i.e. doesn't call close), you know that it still has it when
> > > the next business method is called.  Would it work to just go
> > > ahead and enlist it in any new transaction?  (There can't be more
> > > than one transaction for that bean going at once...)
> > >
> > > Tracking a list of checked-out resources would also make cleanup
> > > easier after a system exception, if we don't do this already.  Just a
> > > thought...
> > >
> > > -Dan
> >
> >     There's no way that I know of in Java to get a reference to the
> > object that called a particular method.  You could get the object type by
> > dumping the stack and examining the output, but that isn't really
> > enough.  Since JNDI doesn't ask that the caller pass in a self-reference,
> > how do you suggest we track which bean instance has which connection?
> >
> > Aaron
> >
> >
> >
> 
> 


Reply via email to