当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
JavaCompilerFactory (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.apache.commons.jci.compilers
Class JavaCompilerFactory
java.lang.Object
org.apache.commons.jci.compilers.JavaCompilerFactory
public final class JavaCompilerFactory
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JavaCompilerFactory
public JavaCompilerFactory()
getInstance
public static JavaCompilerFactory getInstance()
- Deprecated.
createCompiler
public JavaCompiler createCompiler(String pHint)
- Tries to guess the class name by convention. So for compilers
following the naming convention
org.apache.commons.jci.compilers.SomeJavaCompiler
you can use the short-hands "some"/"Some"/"SOME". Otherwise
you have to provide the full class name. The compiler is
getting instanciated via (cached) reflection.
- Parameters:
pHint
-
- Returns:
- JavaCompiler or null
TODO use META-INF discovery mechanism
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.