[jboss-svn-commits] JBL Code SVN: r15102 - labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Engine.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Thu Sep 13 19:47:42 EDT 2007
Author: mark.proctor at jboss.com
Date: 2007-09-13 19:47:42 -0400 (Thu, 13 Sep 2007)
New Revision: 15102
Modified:
labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Engine/Section-The_Drools_Rule_Engine.xml
Log:
-added some more comments on dispose()
Modified: labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Engine/Section-The_Drools_Rule_Engine.xml
===================================================================
--- labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Engine/Section-The_Drools_Rule_Engine.xml 2007-09-13 23:03:12 UTC (rev 15101)
+++ labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Engine/Section-The_Drools_Rule_Engine.xml 2007-09-13 23:47:42 UTC (rev 15102)
@@ -631,7 +631,10 @@
</figure>
<para>The StatefulSession extends the WorkingMemory class. It simply adds
- async methods and a dispose() method.</para>
+ async methods and a dispose() method. The ruleBase retains a reference to
+ each StatefulSession is creates, so that it can update them when new rules
+ are added, dispose() is needed to release the StatefulSession reference
+ from the RuleBase, without it you can get memory leaks.</para>
<example>
<title>Createing a StatefulSession</title>
More information about the jboss-svn-commits
mailing list