[nanocontainer-scm] [jira] Commented: (NANO-97) nano-persistence
jira-yCVjj/[email protected] Tue, 12 Oct 2004 15:49:48 -0400 (EDT)
| Newsgroups | gmane.comp.java.nanocontainer.cvs |
|---|---|
| Message-ID | <[email protected]> |
The following comment has been added to this issue:
Author: Thomas Heller
Created: Tue, 12 Oct 2004 3:48 PM
Body:
IMHO ThreadLocal is fine as long as done right. They buy you complete transparency and you don't need to worry about complex hierachies. Some things get alot easier with ThreadLocals (eg. Transactions).
Just have them package-private,protected (eg. non-public) and take big care when/how you use them. Usually you should be the one creating the threadlocal and you should be the one disposing it never let the user even see it. try/finally is a must.
---------------------------------------------------------------------
View this comment:
http://jira.codehaus.org/browse/NANO-97?page=comments#action_25262
---------------------------------------------------------------------
View the issue:
http://jira.codehaus.org/browse/NANO-97
Here is an overview of the issue:
---------------------------------------------------------------------
Key: NANO-97
Summary: nano-persistence
Type: New Feature
Status: Unassigned
Priority: Major
Original Estimate: Unknown
Time Spent: Unknown
Remaining: Unknown
Project: NanoContainer
Assignee:
Reporter: Philipp Meier
Created: Wed, 1 Sep 2004 1:14 PM
Updated: Tue, 12 Oct 2004 3:48 PM
Description:
Stephen Molitor intially suggestest this module on the pico-dev-list. I file this issue to have a place to attach my contribution of code.
---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
If you want more information on JIRA, or have a bug to report see:
http://www.atlassian.com/software/jira