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

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

protected class ComponentFactory.ClassInfo
extends 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
 Constructor m_constructor
           
 Object[] m_constructorArguments
           
 boolean m_dynamicConfiguration
           
 Method m_setConfigurationMethod
           
 Method m_setContextMethod
           
 Method m_setLoggerMethod
           
 Method m_setParametersMethod
           
 Method m_setServiceManagerMethod
           
 
Constructor Summary
ComponentFactory.ClassInfo()
          Constructor
 
Method Summary
protected  Method getMethod(String name, 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 Constructor m_constructor

m_constructorArguments

public Object[] m_constructorArguments

m_setLoggerMethod

public Method m_setLoggerMethod

m_setConfigurationMethod

public Method m_setConfigurationMethod

m_setParametersMethod

public Method m_setParametersMethod

m_setContextMethod

public Method m_setContextMethod

m_dynamicConfiguration

public boolean m_dynamicConfiguration

m_setServiceManagerMethod

public Method m_setServiceManagerMethod
Constructor Detail

ComponentFactory.ClassInfo

public ComponentFactory.ClassInfo()
                           throws Exception
Constructor

Throws:
Exception
Method Detail

getMethod

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

Throws:
Exception


Copyright © 2003-2012 The Apache Software Foundation. All Rights Reserved.