org.apache.avalon.fortress.util
Class ReflectiveConfigurator

java.lang.Object
  extended byorg.apache.avalon.framework.logger.AbstractLogEnabled
      extended byorg.apache.avalon.lifecycle.AbstractCreator
          extended byorg.apache.avalon.fortress.util.ReflectiveConfigurator
All Implemented Interfaces:
Creator, LogEnabled

public final class ReflectiveConfigurator
extends AbstractCreator

A creator that configures a component based on reflection.

Version:
CVS $Revision: 1.1 $ $Date: 2004/03/08 18:50:25 $
Author:
Avalon Development Team

Constructor Summary
ReflectiveConfigurator()
           
 
Method Summary
 void create(java.lang.Object component, Context context)
          Create stage handler.
 
Methods inherited from class org.apache.avalon.lifecycle.AbstractCreator
destroy
 
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReflectiveConfigurator

public ReflectiveConfigurator()
Method Detail

create

public void create(java.lang.Object component,
                   Context context)
            throws java.lang.Exception
Description copied from class: AbstractCreator
Create stage handler.

Specified by:
create in interface Creator
Overrides:
create in class AbstractCreator
Parameters:
component - the object that is being created
context - the context instance required by the create handler implementation
Throws:
java.lang.Exception - if an error occurs


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