当前页面:
在线文档首页 >
JBoss RULES 4.0.0.11754MR2 API 英文版文档
ClassFieldExtractorFactory (Drools 4.0.0.11754MR2 API) - JBoss RULES 4.0.0.11754MR2 API 英文版文档
org.drools.base
Class ClassFieldExtractorFactory
java.lang.Object
org.drools.base.ClassFieldExtractorFactory
public class ClassFieldExtractorFactory
- extends Object
This generates subclasses of BaseClassFieldExtractor to provide field extractors.
This should not be used directly, but via ClassFieldExtractor (which ensures that it is
all nicely serializable).
- Author:
- Alexander Bagerman, Michael Neale
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassFieldExtractorFactory
public ClassFieldExtractorFactory()
getClassFieldExtractor
public static BaseClassFieldExtractor getClassFieldExtractor(Class clazz,
String fieldName)
getClassFieldExtractor
public static BaseClassFieldExtractor getClassFieldExtractor(Class clazz,
String fieldName,
ClassLoader classLoader)
buildClassHeader
protected static void buildClassHeader(Class superClass,
String className,
ClassWriter cw)
- Builds the class header
- Parameters:
clazz
- The class to build the extractor forclassName
- The extractor class namecw
-
buildGetMethod
protected static void buildGetMethod(Class originalClass,
String className,
Class superClass,
Method getterMethod,
ClassWriter cw)
- Creates the proxy reader method for the given method
- Parameters:
fieldName
- fieldFlag
- method
- cw
-
Copyright © 2001-2007
JBoss Inc.. All Rights Reserved.