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 org.drools.compiler.kie.builder.impl.AbstractKieProject |
cleanIndex, getDefaultKieBaseModel, getDefaultKieSession, getDefaultStatelessKieSession, getKieBaseModel, getKieBaseNames, getKieSessionModel, getTransitiveIncludes, getTransitiveIncludes, indexParts, verify, verify, verify, verify |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
OSGI_KIE_MODULE_CLASS_NAME
public static final String OSGI_KIE_MODULE_CLASS_NAME
- See Also:
- Constant Field Values
init
public void init()
getGAV
public org.kie.api.builder.ReleaseId getGAV()
getCreationTimestamp
public long getCreationTimestamp()
discoverKieModules
public void discoverKieModules()
fetchKModule
public static InternalKieModule fetchKModule(URL url)
createInternalKieModule
public static InternalKieModule createInternalKieModule(URL url,
String fixedURL,
org.kie.api.builder.model.KieModuleModel kieProject,
org.kie.api.builder.ReleaseId releaseId,
String rootPath)
getPomProperties
public static String getPomProperties(String urlPathToAdd)
fixURLFromKProjectPath
public static String fixURLFromKProjectPath(URL url)
getKieModuleForKBase
public InternalKieModule getKieModuleForKBase(String kBaseName)
getClassLoader
public ClassLoader getClassLoader()
getClonedClassLoader
public ClassLoader getClonedClassLoader()
Copyright © 2001-2015 JBoss by Red Hat. All Rights Reserved.