站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss RULES 3.0.6 API 英文版文档

ClassFieldExtractorFactory - JBoss RULES 3.0.6 API 英文版文档


org.drools.base
Class ClassFieldExtractorFactory

java.lang.Object
  extended by org.drools.base.ClassFieldExtractorFactory

public class ClassFieldExtractorFactory
extends java.lang.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).


Constructor Summary
ClassFieldExtractorFactory()
           
 
Method Summary
static BaseClassFieldExtractor getClassFieldExtractor(java.lang.Class clazz, java.lang.String fieldName)
           
protected static ClassObjectType getClassObjectType(java.lang.Class fieldType)
          Return the classObjectType, allowing for the fact that it will be autoboxed if it is a primitive.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassFieldExtractorFactory

public ClassFieldExtractorFactory()
Method Detail

getClassFieldExtractor

public static BaseClassFieldExtractor getClassFieldExtractor(java.lang.Class clazz,
                                                             java.lang.String fieldName)

getClassObjectType

protected static ClassObjectType getClassObjectType(java.lang.Class fieldType)
                                             throws java.beans.IntrospectionException
Return the classObjectType, allowing for the fact that it will be autoboxed if it is a primitive.

Throws:
java.beans.IntrospectionException