org.drools.compiler.kie.builder.impl
Class ClasspathKieProject
java.lang.Object
org.drools.compiler.kie.builder.impl.AbstractKieProject
org.drools.compiler.kie.builder.impl.ClasspathKieProject
- All Implemented Interfaces:
- KieProject
public class ClasspathKieProject
- extends AbstractKieProject
Discovers all KieModules on the classpath, via the kmodule.xml file.
KieBaseModels and KieSessionModels are then indexed, with helper lookups
Each resulting KieModule is added to the KieRepository
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClasspathKieProject
public ClasspathKieProject()
ClasspathKieProject
public ClasspathKieProject(org.kie.api.builder.KieRepository kr)
init
public void init()
getGAV
public org.kie.api.builder.ReleaseId getGAV()
discoverKieModules
public void discoverKieModules()
fetchKModule
public static InternalKieModule fetchKModule(URL url)
fetchKModule
public static InternalKieModule fetchKModule(URL url,
String fixedURL)
getPomProperties
public static String getPomProperties(String urlPathToAdd)
fixURLFromKProjectPath
public static String fixURLFromKProjectPath(URL url)
getKieModuleForKBase
public InternalKieModule getKieModuleForKBase(String kBaseName)
getClassLoader
public org.kie.internal.utils.CompositeClassLoader getClassLoader()
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.