|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.excalibur.instrument.AbstractInstrument
public abstract class AbstractInstrument
The AbstractInstrument class can be used by an class wishing to implement the Instruement interface.
| Constructor Summary | |
|---|---|
protected |
AbstractInstrument(String name)
Creates a new AbstractInstrument. |
| Method Summary | |
|---|---|
String |
getInstrumentName()
Gets the name for the Instrument. |
protected InstrumentProxy |
getInstrumentProxy()
Returns the InstrumentProxy object assigned to the instrument by the InstrumentManager. |
boolean |
isActive()
Used by classes being profiled so that they can avoid unnecessary code when the data from an Instrument is not being used. |
void |
setInstrumentProxy(InstrumentProxy proxy)
When the InstrumentManager is present, an InstrumentProxy will be set to enable the Instrument to communicate with the InstrumentManager. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected AbstractInstrument(String name)
name - The name of the Instrument. The value should be a string
which does not contain spaces or periods.| Method Detail |
|---|
public String getInstrumentName()
getInstrumentName in interface Instrumentpublic void setInstrumentProxy(InstrumentProxy proxy)
proxy - Proxy object used to communicate with the
InstrumentManager.public boolean isActive()
protected InstrumentProxy getInstrumentProxy()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||