org.apache.excalibur.instrument
Class NoopInstrumentManager

java.lang.Object
  extended byorg.apache.excalibur.instrument.NoopInstrumentManager
All Implemented Interfaces:
InstrumentManager

public class NoopInstrumentManager
extends java.lang.Object
implements InstrumentManager

An InstrumentManager which doesn't do anything. This can be useful for container development when a true InstrumentManager is not wanted or needed.

Version:
$Id: NoopInstrumentManager.java,v 1.4 2004/02/28 11:47:28 cziegeler Exp $
Author:
Avalon Development Team

Field Summary
 
Fields inherited from interface org.apache.excalibur.instrument.InstrumentManager
ROLE
 
Constructor Summary
NoopInstrumentManager()
           
 
Method Summary
 void registerInstrumentable(Instrumentable instrumentable, java.lang.String instrumentableName)
          Instrumentable to be registered with the instrument manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NoopInstrumentManager

public NoopInstrumentManager()
Method Detail

registerInstrumentable

public void registerInstrumentable(Instrumentable instrumentable,
                                   java.lang.String instrumentableName)
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.

Specified by:
registerInstrumentable in interface InstrumentManager
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.