On Fri, 29 Sep 2000, Aaron Mulder wrote:
>       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?

Because a bean has to run in a particular thread/threadgroup
could you not detect which thread is running request and
association that way ? 

Cheers,

Pete

*--------------------------------------------------*
| Latrobe University,     | Does the name 'Pavlov' |
| Bundoora, Australia     |    ring a bell ?       |
*--------------------------------------------------*


Reply via email to