org.apache.excalibur.instrument
Interface InstrumentManager

All Known Subinterfaces:
DefaultInstrumentManager
All Known Implementing Classes:
DefaultInstrumentManagerImpl, NoopInstrumentManager

public interface InstrumentManager

Since:
4.1
Version:
CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:28 $
Author:
Avalon Development Team

Field Summary
static java.lang.String ROLE
           
 
Method Summary
 void registerInstrumentable(Instrumentable instrumentable, java.lang.String instrumentableName)
          Instrumentable to be registered with the instrument manager.
 

Field Detail

ROLE

public static final java.lang.String ROLE
Method Detail

registerInstrumentable

public void registerInstrumentable(Instrumentable instrumentable,
                                   java.lang.String instrumentableName)
                            throws java.lang.Exception
Instrumentable to be registered with the instrument manager. Should be called whenever an Instrumentable is created. The '.' character is used to denote a child Instrumentable and can be used to register the instrumentable at a specific point in an instrumentable hierarchy.

Parameters:
instrumentable - Instrumentable to register with the InstrumentManager.
instrumentableName - The name to use when registering the Instrumentable.
Throws:
java.lang.Exception - If there were any problems registering the Instrumentable.


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