Or maybe as a stack, passed down from invocation to invocation. Since we're trying to separate stuff from the context as much as possible. But this would be a big API change.
-----Original Message----- From: peter royal [mailto:[EMAIL PROTECTED] Sent: Thursday, December 16, 2004 6:37 PM To: Jakarta Commons Developers List Subject: Re: [jelly] Trying to understand ThreadLocal story On Dec 16, 2004, at 10:43 AM, Paul Libbrecht wrote: > Now... aren't we >just< missing a simple notion "run-session", passed > between script-objects, where each TagScript could put it's tag ? > A simple hash-table where the key is the tag-script seems to satisfy > requirements. > That run-session, in normal conditions, would be garbage collected at > the end of the run(), at least. Basically, yes. Rather than caching tags in the TagScript, we could/should cache them in a JellyContext. You could then discards the JellyContext to force the Tag's to be GC'd -pete --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
