[rules-users] drools 6 code inner code which serarch kmodule.xml

Mark Proctor mproctor at codehaus.org
Thu Jun 12 09:03:01 EDT 2014


ClasspathKieProject.discoverKieModules.
https://github.com/droolsjbpm/drools/blob/master/drools-compiler/src/main/java/org/drools/compiler/kie/builder/impl/ClasspathKieProject.java

Mark
On 12 Jun 2014, at 08:24, ganeshneelekani <ganeshneelekani at gmail.com> wrote:

> Hi Team,
> 
> please follow below code.
> 
>                 	KieServices ks = KieServices.Factory.get();
> 			KieContainer kContainer = ks.getKieClasspathContainer();
> 		
> 			KieSession ksession = kContainer.newKieSession("ksession-rules");
> 
> whenever I executed it searched for ksession-rules of kmodule.xml which
> presnt in the path /resouces/META-INF/kmodule.xml.
> 
> which of the above code finds that, can any one tell me logic behind it, I
> want to modify this code according to requirement.
> 
> Thanks,
> 
> 
> 
> 
> 
> --
> View this message in context: http://drools.46999.n3.nabble.com/drools-6-code-inner-code-which-serarch-kmodule-xml-tp4030002.html
> Sent from the Drools: User forum mailing list archive at Nabble.com.
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users




More information about the rules-users mailing list