Like another member said--don't go that route--not thread safe...
You can create a ThreadLocal field on your service class like this however:
protected final static ThreadLocal threadLocal = new ThreadLocal();
And then you will be able to call the threadLocal.set(<your object>); method in your handler.
You can access the value with the get() method--just cast to whatever class type you put in there.
-pc
-----Original Message-----
From: Konstantinos Margaritis [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 20, 2004 3:59 PM
To: [EMAIL PROTECTED]
Subject: Re: How do I pass data from Handler to the service?
On Thursday 20 May 2004 20:49, Callahan, Paul wrote:
> You can set a System property--good within the JVM.
>
> http://tinyurl.com/32rel
That works if my member variable is a String, but in my case it's an
object.
Or is there be another way to set system property objects?
Konstantinos
