org.apache.avalon.fortress.impl.handler
Class ComponentFactory.ClassInfo

java.lang.Object
  extended byorg.apache.avalon.fortress.impl.handler.ComponentFactory.ClassInfo
Enclosing class:
ComponentFactory

protected class ComponentFactory.ClassInfo
extends java.lang.Object

This class collects all information about the components class: - the constructor to use - the parameters to pass into the constructor - Additional infos about implemented methods


Field Summary
 java.lang.reflect.Constructor m_constructor
           
 java.lang.Object[] m_constructorArguments
           
 boolean m_dynamicConfiguration
           
 java.lang.reflect.Method m_setConfigurationMethod
           
 java.lang.reflect.Method m_setContextMethod
           
 java.lang.reflect.Method m_setLoggerMethod
           
 java.lang.reflect.Method m_setParametersMethod
           
 java.lang.reflect.Method m_setServiceManagerMethod
           
 
Constructor Summary
ComponentFactory.ClassInfo()
          Constructor
 
Method Summary
protected  java.lang.reflect.Method getMethod(java.lang.String name, java.lang.Class clazz)
          Helper method for getting a named method that has one parameter of the given type.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

m_constructor

public java.lang.reflect.Constructor m_constructor

m_constructorArguments

public java.lang.Object[] m_constructorArguments

m_setLoggerMethod

public java.lang.reflect.Method m_setLoggerMethod

m_setConfigurationMethod

public java.lang.reflect.Method m_setConfigurationMethod

m_setParametersMethod

public java.lang.reflect.Method m_setParametersMethod

m_setContextMethod

public java.lang.reflect.Method m_setContextMethod

m_dynamicConfiguration

public boolean m_dynamicConfiguration

m_setServiceManagerMethod

public java.lang.reflect.Method m_setServiceManagerMethod
Constructor Detail

ComponentFactory.ClassInfo

public ComponentFactory.ClassInfo()
                           throws java.lang.Exception
Constructor

Method Detail

getMethod

protected java.lang.reflect.Method getMethod(java.lang.String name,
                                             java.lang.Class clazz)
                                      throws java.lang.Exception
Helper method for getting a named method that has one parameter of the given type.

Throws:
java.lang.Exception


Copyright © 1997-2005 The Apache Software Foundation. All Rights Reserved.