[jboss-svn-commits] JBL Code SVN: r33579 - labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Quick_Start.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Mon Jun 21 17:59:19 EDT 2010


Author: eaa
Date: 2010-06-21 17:59:19 -0400 (Mon, 21 Jun 2010)
New Revision: 33579

Modified:
   labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Quick_Start/Section-More_On_Building_And_Deploying.xml
Log:
Fixed an error in knowledge agent's documentation. It is possible to reuse kbase's classloader when not using incremental change set processing. The documentation stood the opposite.  

Modified: labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Quick_Start/Section-More_On_Building_And_Deploying.xml
===================================================================
--- labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Quick_Start/Section-More_On_Building_And_Deploying.xml	2010-06-21 21:01:41 UTC (rev 33578)
+++ labs/jbossrules/trunk/drools-docs/drools-docs-expert/src/main/docbook/en-US/Chapter-Quick_Start/Section-More_On_Building_And_Deploying.xml	2010-06-21 21:59:19 UTC (rev 33579)
@@ -135,10 +135,10 @@
         agen't kbase and use the "drools.agent.useKBaseClassLoaderForCompiling"
         property of KnowledgeAgentConfiguration object.</para>
         <para>This approach lets you modify agent's kbuilder classloader in
-        runtime by modifying the classloader the agent's kbase uses. Of course
-        you will need to use incremental change set processing (see the section
-        bellow). Otherwise the kbase will be recreated every time a change set
-        is processed and the custom classloader will be missed.</para>
+        runtime by modifying the classloader the agent's kbase uses. This will
+        serve also when not using incremental change set processing (see the
+        section bellow). When the kbase is recreated its configuration is
+        reused, so the classloader is maintained.</para>
 <programlisting>KnowledgeBaseConfiguration kbaseConfig =
     KnowledgeBaseFactory.newKnowledgeBaseConfiguration(null, customClassLoader);
 KnowledgeBase kbase =



More information about the jboss-svn-commits mailing list