commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ola Berg <ola.b...@arkitema.se>
Subject [lang] proposal: ThreadContext
Date Wed, 19 Jun 2002 19:19:38 GMT
OK, the script-kiddie with the bad ideas is back, this time with a proposal for lang: 

When doing servlets you have the app-context, the session-context and the request-context,
where you can put variables (or context attributes as they are called). 

What about a ThreadContext where you can put variables that belongs to a certain thread? Wouldn\'t
that make writing thread safe things easier?

Object o = ThreadContext.getAttribute( \"fooBar\"):

/O

--------------------
ola.berg@arkitema.se
0733 - 99 99 17

--
To unsubscribe, e-mail:   <mailto:commons-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:commons-dev-help@jakarta.apache.org>


Mime
View raw message