org.neodatis.odb.impl.core.layers.layer1.introspector
Class DefaultClassIntrospector

java.lang.Object
  extended by org.neodatis.odb.impl.core.layers.layer1.introspector.AbstractClassIntrospector
      extended by org.neodatis.odb.impl.core.layers.layer1.introspector.DefaultClassIntrospector
All Implemented Interfaces:
ITwoPhaseInit, IClassIntrospector

public class DefaultClassIntrospector
extends AbstractClassIntrospector

The ClassIntrospector is used to introspect classes. It uses Reflection to extract class information. It transforms a native Class into a ClassInfo (a meta representation of the class) that contains all informations about the class.

Author:
osmadja

Constructor Summary
DefaultClassIntrospector()
           
 
Method Summary
protected  boolean tryToCreateAnEmptyConstructor(java.lang.Class clazz)
          Tries to create a default constructor (with no parameter) for the class and stores it the constructor cache.
 
Methods inherited from class org.neodatis.odb.impl.core.layers.layer1.introspector.AbstractClassIntrospector
addConstructor, addFullInstanciationHelper, addFullInstantiationHelper, addInstanciationHelper, addInstantiationHelper, addParameterHelper, addParameterHelper, getAllFields, getClassCategory, getClassInfo, getConstructorOf, getField, getSuperClasses, init2, instrospect, introspect, introspect, isSystemClass, newFullInstanceOf, newInstanceOf, persistFieldOfClass, removeFullInstantiationHelper, removeFullInstantiationHelper, removeInstantiationHelper, removeInstantiationHelper, removeParameterHelper, removeParameterHelper, removeUnnecessaryFields, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultClassIntrospector

public DefaultClassIntrospector()
Method Detail

tryToCreateAnEmptyConstructor

protected boolean tryToCreateAnEmptyConstructor(java.lang.Class clazz)
Tries to create a default constructor (with no parameter) for the class and stores it the constructor cache.

Specified by:
tryToCreateAnEmptyConstructor in class AbstractClassIntrospector
Parameters:
clazz -
Returns: