org.apache.avalon.fortress.impl.extensions
Class InstrumentableCreator

java.lang.Object
  extended by org.apache.avalon.framework.logger.AbstractLogEnabled
      extended by org.apache.avalon.lifecycle.AbstractCreator
          extended by org.apache.avalon.fortress.impl.extensions.InstrumentableCreator
All Implemented Interfaces:
org.apache.avalon.framework.logger.LogEnabled, org.apache.avalon.lifecycle.Creator

public final class InstrumentableCreator
extends org.apache.avalon.lifecycle.AbstractCreator

The InstrumentableCreator is used as a standard lifecycle extension for containers that support it.


Field Summary
private  boolean m_instrumentEnabled
           
private  org.apache.excalibur.instrument.InstrumentManager m_instrumentManager
           
 
Constructor Summary
InstrumentableCreator(org.apache.excalibur.instrument.InstrumentManager instrumentManager)
           
 
Method Summary
 void create(java.lang.Object object, org.apache.avalon.framework.context.Context context)
          Assign the instrumentables and InstrumentManageables
 
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
 

Field Detail

m_instrumentManager

private final org.apache.excalibur.instrument.InstrumentManager m_instrumentManager

m_instrumentEnabled

private final boolean m_instrumentEnabled
Constructor Detail

InstrumentableCreator

public InstrumentableCreator(org.apache.excalibur.instrument.InstrumentManager instrumentManager)
Method Detail

create

public void create(java.lang.Object object,
                   org.apache.avalon.framework.context.Context context)
            throws java.lang.Exception
Assign the instrumentables and InstrumentManageables

Specified by:
create in interface org.apache.avalon.lifecycle.Creator
Overrides:
create in class org.apache.avalon.lifecycle.AbstractCreator
Throws:
java.lang.Exception