[rules-users] dynamic class loading in drools 5.1

Saurabh maheshwari.saurabh03 at gmail.com
Wed Feb 23 00:15:13 EST 2011


hi ,

    I am creating external classloader , but can u tell me the syntax for
passing the external classloader to kbuilder and kbase .

in kbuilder i am doing like that 
kbc =
KnowledgeBuilderFactory.newKnowledgeBuilderConfiguration(null,mydyanmicclass.getClassLoder());
kbuilder = KnowledgeBuilderFactory.newKnowledgeBuilder(kbc);

but how i do this with kbase.

Thanks & Regards 

Saurabh



-- 
View this message in context: http://drools-java-rules-engine.46999.n3.nabble.com/dynamic-class-loading-in-drools-5-1-tp2557822p2557886.html
Sent from the Drools - User mailing list archive at Nabble.com.



More information about the rules-users mailing list