[jboss-svn-commits] JBL Code SVN: r13287 - labs/jbossrules/trunk/documentation/manual/en/Chapter-BRMS.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Mon Jul 9 22:26:48 EDT 2007
Author: fmeyer
Date: 2007-07-09 22:26:48 -0400 (Mon, 09 Jul 2007)
New Revision: 13287
Modified:
labs/jbossrules/trunk/documentation/manual/en/Chapter-BRMS/Section-UserGuide.xml
Log:
Replaced newInstance for newRuleAgent to matches with interface
Modified: labs/jbossrules/trunk/documentation/manual/en/Chapter-BRMS/Section-UserGuide.xml
===================================================================
--- labs/jbossrules/trunk/documentation/manual/en/Chapter-BRMS/Section-UserGuide.xml 2007-07-10 00:21:55 UTC (rev 13286)
+++ labs/jbossrules/trunk/documentation/manual/en/Chapter-BRMS/Section-UserGuide.xml 2007-07-10 02:26:48 UTC (rev 13287)
@@ -574,7 +574,7 @@
<para>To use the rule agent, you will use a call in your applications
code like:</para>
- <programlisting>RuleAgent agent = RuleAgent.newInstance("/MyRules.properties");
+ <programlisting>RuleAgent agent = RuleAgent.newRuleAgent("/MyRules.properties");
RuleBase rb = agent.getRuleBase();
rb.newStatefulSession....
//now assert your facts into the session and away you go !
More information about the jboss-svn-commits
mailing list