Thx.


On Thu, May 16, 2013 at 1:40 PM, Mark Proctor <mproctor@codehaus.org> wrote:
We have an alternative way now.

6.0 is based on Maven for building and deploying, and dependency management. So we now use embedded maven for runtime changes. There is a special project called kie-ci, and a class called KieScanner. Unit tests can be found here:
https://github.com/droolsjbpm/drools/blob/master/kie-ci/src/test/java/org/kie/scanner/KieRepositoryScannerTest.java

Mark
On 16 May 2013, at 09:16, Charles Moulliard <ch007m@gmail.com> wrote:

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

_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


_______________________________________________
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



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