org.drools.base
Class ClassFieldExtractorFactory

java.lang.Object
  extended byorg.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