Drools :: Compiler 6.0.0.Alpha7

org.kie.builder.impl
Class ClasspathKieProject

java.lang.Object
  extended by org.kie.builder.impl.AbstractKieProject
      extended by org.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


Field Summary
 
Fields inherited from class org.kie.builder.impl.AbstractKieProject
kBaseModels, kSessionModels
 
Constructor Summary
ClasspathKieProject()
           
ClasspathKieProject(org.kie.builder.KieRepository kr)
           
 
Method Summary
 void discoverKieModules()
           
static InternalKieModule fetchKModule(URL url)
           
static InternalKieModule fetchKModule(URL url, String fixedURL)
           
static String fixURLFromKProjectPath(URL url)
           
 org.kie.internal.utils.CompositeClassLoader getClassLoader()
           
 org.kie.builder.ReleaseId getGAV()
           
 InternalKieModule getKieModuleForKBase(String kBaseName)
           
static String getPomProperties(String urlPathToAdd)
           
 void init()
           
 
Methods inherited from class org.kie.builder.impl.AbstractKieProject
getDefaultKieBaseModel, getDefaultKieSession, getDefaultStatelessKieSession, getKieBaseModel, getKieSessionModel, indexParts, verify, verify
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClasspathKieProject

public ClasspathKieProject()

ClasspathKieProject

public ClasspathKieProject(org.kie.builder.KieRepository kr)
Method Detail

init

public void init()

getGAV

public org.kie.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()

Drools :: Compiler 6.0.0.Alpha7

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.