<div dir="ltr">Hi,<div><br></div><div>The org.kie.internal.agent.<div style="display:inline;height:auto;width:auto">KnowledgeAgentFactory</div>KnowledgeAgentFactory class is used to create a KnowledAgent, KnowledAgentConfiguration.</div>
<div><br></div><div>The loadProvider() method of KnowledgeAgentFactory loads the the following class :</div><div style="display:inline;height:auto;width:auto"></div><div><br></div><div> private static String providerClassName = "org.drools.agent.impl.KnowledgeAgentProviderImpl";<br>
</div><div><br></div><div><div> private static void loadProvider() {</div><div> try {</div><div> //loads the provider class</div><div> providerClassName = System.getProperty(KnowledgeAgentFactory.PROVIDER_CLASS_NAME_PROPERTY_NAME, providerClassName);</div>
<div><br></div><div> Class<KnowledgeAgentProvider> cls = (Class<KnowledgeAgentProvider>) Class.forName(providerClassName);</div><div> setKnowledgeAgentProvider( cls.newInstance() );</div>
<div> } catch ( Exception e ) {</div><div> }</div><div> }</div><div><br></div><div style>But this class does not longer exist under Drools 6.0</div><div style><br></div><div style>Questions :</div><div style>
<br></div><div style>- Is this class replaced by a new one ?</div><div style>- Have we forget to migrate this class from Drools 5 to Drools 6</div><div><br></div><div style>Regards,</div><div style><br></div>-- <br><div>Charles Moulliard</div>
<div>Apache Committer / Sr. Enterprise Architect (RedHat)</div><div>Twitter : @cmoulliard | Blog : <a href="http://cmoulliard.blogspot.com" target="_blank">http://cmoulliard.blogspot.com</a></div><div><br></div>
</div></div>