[jboss-svn-commits] JBL Code SVN: r14978 - labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Engine.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sun Sep 9 18:43:36 EDT 2007


Author: mark.proctor at jboss.com
Date: 2007-09-09 18:43:36 -0400 (Sun, 09 Sep 2007)
New Revision: 14978

Modified:
   labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Engine/Section-The_Drools_Rule_Engine.xml
Log:
JBRULES-1165 StatelessSessionResult should have getGlobal
-updated docs.

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-09 22:40:13 UTC (rev 14977)
+++ labs/jbossrules/trunk/documentation/manual/en/Chapter-Rule_Engine/Section-The_Drools_Rule_Engine.xml	2007-09-09 22:43:36 UTC (rev 14978)
@@ -736,7 +736,8 @@
 
       <programlisting>StatelessSession session = ruleBase.newStatelessSession();
 session.setGlobalExporter( new CopyIdentifiersGlobalExporter( new String[]{"list"} ) );
-StatelessSessionResult result = session.executeWithResults( new Cheese( "stilton" ) );</programlisting>
+StatelessSessionResult result = session.executeWithResults( new Cheese( "stilton" ) );
+List list = ( List ) result.getGlobal( "list" );</programlisting>
     </example>
   </section>
 




More information about the jboss-svn-commits mailing list