Implement getCurrentThreadWorkingMemory feature
-----------------------------------------------
Key: DROOLS-428
URL: http://jira.codehaus.org/browse/DROOLS-428
Project: drools
Type: New Feature
Components: reteoo
Versions: future
Reporter: Michael Neale
Assigned to: Michael Neale
Priority: Minor
Fix For: future
Have ability to keep working memory in a threadlocal - convenience method.
Allows ability to get exising WM for the current thread (or create a new WM for
that thread) and reuse it. Useful for web application use cases.
Idea is same as hibernates "getCurrentSession".
One alternative discussed is to have a wrapper for RuleBase (may be considered
for 3.0).
--
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
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira