Package org.drools.mvel.java
Class JavaForMvelDialectConfiguration
java.lang.Object
org.kie.memorycompiler.JavaConfiguration
org.drools.compiler.compiler.JavaDialectConfiguration
org.drools.mvel.java.JavaForMvelDialectConfiguration
- All Implemented Interfaces:
DialectConfiguration
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.dialect.java.compiler" to set the desired compiler.
The valid values are "ECLIPSE" and "NATIVE" only.
drools.dialect.java.compiler = <ECLIPSE|NATIVE>
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
FieldsFields inherited from class org.kie.memorycompiler.JavaConfiguration
JAVA_COMPILER_PROPERTY, JAVA_LANG_LEVEL_PROPERTY, LANGUAGE_LEVELS -
Constructor Summary
ConstructorsConstructorDescription -
Method Summary
Modifier and TypeMethodDescriptionnewDialect(ClassLoader rootClassLoader, KnowledgeBuilderConfigurationImpl pkgConf, PackageRegistry pkgRegistry, org.drools.base.definitions.InternalKnowledgePackage pkg) Methods inherited from class org.drools.compiler.compiler.JavaDialectConfiguration
createDefaultCompiler, createEclipseCompiler, createNativeCompiler, getDefaultCompilerType, getPackageBuilderConfiguration, hasEclipseCompiler, init, setDefaultCompilerTypeMethods inherited from class org.kie.memorycompiler.JavaConfiguration
findJavaVersion, findJavaVersion, getCompiler, getJavaLanguageLevel, setCompiler, setJavaLanguageLevel
-
Field Details
-
logger
protected static final transient org.slf4j.Logger logger
-
-
Constructor Details
-
JavaForMvelDialectConfiguration
public JavaForMvelDialectConfiguration() -
JavaForMvelDialectConfiguration
-
-
Method Details
-
newDialect
public Dialect newDialect(ClassLoader rootClassLoader, KnowledgeBuilderConfigurationImpl pkgConf, PackageRegistry pkgRegistry, org.drools.base.definitions.InternalKnowledgePackage pkg) - Specified by:
newDialectin interfaceDialectConfiguration- Overrides:
newDialectin classJavaDialectConfiguration
-