Hi,

The org.kie.internal.agent.
KnowledgeAgentFactory
KnowledgeAgentFactory class is used to create a KnowledAgent, KnowledAgentConfiguration.

The loadProvider() method of KnowledgeAgentFactory loads the the following class :

    private static String providerClassName = "org.drools.agent.impl.KnowledgeAgentProviderImpl";

    private static void loadProvider() {
        try {
            //loads the provider class
            providerClassName = System.getProperty(KnowledgeAgentFactory.PROVIDER_CLASS_NAME_PROPERTY_NAME, providerClassName);

            Class<KnowledgeAgentProvider> cls = (Class<KnowledgeAgentProvider>) Class.forName(providerClassName);
            setKnowledgeAgentProvider( cls.newInstance() );
        } catch ( Exception e ) {
         }
    }

But this class does not longer exist under Drools 6.0

Questions :

- Is this class replaced by a new one ?
- Have we forget to migrate this class from Drools 5 to Drools 6

Regards,

--
Charles Moulliard
Apache Committer / Sr. Enterprise Architect (RedHat)
Twitter : @cmoulliard | Blog : http://cmoulliard.blogspot.com