org.apache.commons.clazz.reflect.extended
Class ExtendedReflectedClazz

java.lang.Object
  extended by org.apache.commons.clazz.common.ClazzElementSupport
      extended by org.apache.commons.clazz.Clazz
          extended by org.apache.commons.clazz.reflect.ReflectedClazz
              extended by org.apache.commons.clazz.reflect.extended.ExtendedReflectedClazz
All Implemented Interfaces:
ClazzElement

public class ExtendedReflectedClazz
extends ReflectedClazz

Version:
$Id: ExtendedReflectedClazz.java 155436 2005-02-26 13:17:48Z dirkv $
Author:
Dmitri Plotnikov

Field Summary
static ReflectedInstanceFactoryIntrospector[] INSTANCE_FACTORY_INTROSPECTORS
          The extended list of introspectors consists of the basic constructor-to- factory introspector as well as an introspector that discovers static methods without parameters and returning the class itself.
static ReflectedOperationIntrospector[] OPERATION_INTROSPECTORS
          The extended list of introspectors consists just the basic method-to- operation introspector.
protected static ReflectedPropertyIntrospector[] PROPERTY_INTROSPECTORS
          The extended list of introspectors consists of List, Mapped and Scalar property introspectors.
 
Fields inherited from class org.apache.commons.clazz.Clazz
EXTENDED_CLAZZ_MODEL, STANDARD_CLAZZ_MODEL
 
Constructor Summary
ExtendedReflectedClazz(ClazzLoader loader, Class instanceClass)
          Constructor for ExtendedReflectedClazz.
 
Method Summary
protected  ReflectedInstanceFactoryIntrospector[] getInstanceFactoryIntrospectors()
           
protected  ReflectedOperationIntrospector[] getOperationIntrospectors()
           
protected  ReflectedPropertyIntrospector[] getPropertyIntrospectors()
          The order of introspectors is significant, they are invoked sequencially.
 
Methods inherited from class org.apache.commons.clazz.reflect.ReflectedClazz
addInstanceFactory, addOperation, addProperty, getBeanInfo, getDeclaredOperations, getDeclaredProperties, getInstanceClass, getInstanceFactories, getInstanceFactory, getOperation, getOperations, getProperties, getProperty, getReflectedClass, getSuperclazz, introspectInstanceFactories, introspectOperations, introspectProperties, isAssignableFrom, isLoggingEnabled, logPropertyParseResults, logPropertyParseResults
 
Methods inherited from class org.apache.commons.clazz.Clazz
addClazzChangeListener, addClazzLoaderFactory, constructSignature, constructSignature, fireInstanceFactoryAdded, fireInstanceFactoryRemoved, fireOperationAdded, fireOperationRemoved, firePropertyAdded, firePropertyRemoved, getCanonicalClassName, getClazz, getClazz, getClazzLoader, getClazzLoader, getClazzLoaderFactory, getDefaultClazzLoader, getDefaultClazzModel, getName, getPackageName, getShortClassName, newInstance, newInstance, removeClazzChangeListener, setDefaultClazzModel
 
Methods inherited from class org.apache.commons.clazz.common.ClazzElementSupport
getAttribute, getAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.commons.clazz.ClazzElement
getAttribute, getAttributes
 

Field Detail

PROPERTY_INTROSPECTORS

protected static final ReflectedPropertyIntrospector[] PROPERTY_INTROSPECTORS
The extended list of introspectors consists of List, Mapped and Scalar property introspectors.


OPERATION_INTROSPECTORS

public static final ReflectedOperationIntrospector[] OPERATION_INTROSPECTORS
The extended list of introspectors consists just the basic method-to- operation introspector.


INSTANCE_FACTORY_INTROSPECTORS

public static final ReflectedInstanceFactoryIntrospector[] INSTANCE_FACTORY_INTROSPECTORS
The extended list of introspectors consists of the basic constructor-to- factory introspector as well as an introspector that discovers static methods without parameters and returning the class itself.

Constructor Detail

ExtendedReflectedClazz

public ExtendedReflectedClazz(ClazzLoader loader,
                              Class instanceClass)
Constructor for ExtendedReflectedClazz.

Parameters:
loader -
instanceClass -
Method Detail

getPropertyIntrospectors

protected ReflectedPropertyIntrospector[] getPropertyIntrospectors()
Description copied from class: ReflectedClazz
The order of introspectors is significant, they are invoked sequencially. Once a property has been recoginzed by an introspector, it will not be overridden by subsequently invoked ones.

Specified by:
getPropertyIntrospectors in class ReflectedClazz

getOperationIntrospectors

protected ReflectedOperationIntrospector[] getOperationIntrospectors()
Specified by:
getOperationIntrospectors in class ReflectedClazz
See Also:
ReflectedClazz.getPropertyIntrospectors()

getInstanceFactoryIntrospectors

protected ReflectedInstanceFactoryIntrospector[] getInstanceFactoryIntrospectors()
Specified by:
getInstanceFactoryIntrospectors in class ReflectedClazz
See Also:
ReflectedClazz.getPropertyIntrospectors()


Copyright © 2001-2010 The Apache Software Foundation. All Rights Reserved.