Class JavaForMvelDialectConfiguration

  • All Implemented Interfaces:
    org.drools.compiler.compiler.DialectConfiguration

    public class JavaForMvelDialectConfiguration
    extends org.drools.compiler.compiler.JavaDialectConfiguration
    There are options to use various flavours of runtime compilers. Apache JCI is used as the interface to all the runtime compilers. You can also use the system property "drools.compiler" to set the desired compiler. The valid values are "ECLIPSE" and "NATIVE" only. drools.dialect.java.compiler = drools.dialect.java.compiler.lnglevel = <1.5|1.6> The default compiler is Eclipse and the default lngLevel is 1.5. The lngLevel will attempt to autodiscover your system using the system property "java.version"
    • Nested Class Summary

      • Nested classes/interfaces inherited from class org.kie.memorycompiler.JavaConfiguration

        org.kie.memorycompiler.JavaConfiguration.CompilerType
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected static org.slf4j.Logger logger  
      • Fields inherited from class org.kie.memorycompiler.JavaConfiguration

        JAVA_COMPILER_PROPERTY, JAVA_LANG_LEVEL_PROPERTY, LANGUAGE_LEVELS
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.drools.compiler.compiler.Dialect newDialect​(ClassLoader rootClassLoader, org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl pkgConf, org.drools.compiler.compiler.PackageRegistry pkgRegistry, org.drools.core.definitions.InternalKnowledgePackage pkg)  
      • Methods inherited from class org.drools.compiler.compiler.JavaDialectConfiguration

        createDefaultCompiler, createEclipseCompiler, createNativeCompiler, getDefaultCompilerType, getPackageBuilderConfiguration, hasEclipseCompiler, init, setDefaultCompilerType
      • Methods inherited from class org.kie.memorycompiler.JavaConfiguration

        findJavaVersion, findJavaVersion, getCompiler, getJavaLanguageLevel, setCompiler, setJavaLanguageLevel
    • Field Detail

      • logger

        protected static final transient org.slf4j.Logger logger
    • Constructor Detail

      • JavaForMvelDialectConfiguration

        public JavaForMvelDialectConfiguration()
    • Method Detail

      • newDialect

        public org.drools.compiler.compiler.Dialect newDialect​(ClassLoader rootClassLoader,
                                                               org.drools.compiler.builder.impl.KnowledgeBuilderConfigurationImpl pkgConf,
                                                               org.drools.compiler.compiler.PackageRegistry pkgRegistry,
                                                               org.drools.core.definitions.InternalKnowledgePackage pkg)
        Specified by:
        newDialect in interface org.drools.compiler.compiler.DialectConfiguration
        Overrides:
        newDialect in class org.drools.compiler.compiler.JavaDialectConfiguration