public abstract class AbstractDualLogEnabledInstrumentable extends AbstractDualLogEnabled implements org.apache.excalibur.instrument.Instrumentable
Subclasses should call addInstrument or
addChildInstrumentable as part of the component's
initialization.
| Modifier and Type | Field and Description |
|---|---|
private java.util.ArrayList |
m_childList
Deprecated.
Stores the child instrumentables during initialization.
|
private java.lang.String |
m_instrumentableName
Deprecated.
Name of the instrumentable.
|
private java.util.ArrayList |
m_instrumentList
Deprecated.
Stores the instruments during initialization.
|
private boolean |
m_registered
Deprecated.
Flag which is to used to keep track of when the Instrumentable has been registered.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractDualLogEnabledInstrumentable()
Deprecated.
Creates a new AbstractLogEnabledInstrumentable.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChildInstrumentable(org.apache.excalibur.instrument.Instrumentable child)
Deprecated.
Adds a child Instrumentable to the list of child Instrumentables
published by the component.
|
protected void |
addInstrument(org.apache.excalibur.instrument.Instrument instrument)
Deprecated.
Adds an Instrument to the list of Instruments published by the component.
|
org.apache.excalibur.instrument.Instrumentable[] |
getChildInstrumentables()
Deprecated.
Any Object which implements Instrumentable can also make use of other
Instrumentable child objects.
|
java.lang.String |
getInstrumentableName()
Deprecated.
Gets the name of the Instrumentable.
|
org.apache.excalibur.instrument.Instrument[] |
getInstruments()
Deprecated.
Obtain a reference to all the Instruments that the Instrumentable object
wishes to expose.
|
void |
setInstrumentableName(java.lang.String name)
Deprecated.
Sets the name for the Instrumentable.
|
getLogkitLogger, setLoggerprivate java.lang.String m_instrumentableName
private java.util.ArrayList m_instrumentList
private java.util.ArrayList m_childList
private boolean m_registered
protected AbstractDualLogEnabledInstrumentable()
protected void addInstrument(org.apache.excalibur.instrument.Instrument instrument)
instrument - Instrument to publish.protected void addChildInstrumentable(org.apache.excalibur.instrument.Instrumentable child)
Note that Child Instrumentables must be named by the caller using the setInstrumentableName method.
child - Child Instrumentable to publish.public final java.lang.String getInstrumentableName()
getInstrumentableName in interface org.apache.excalibur.instrument.Instrumentablepublic final void setInstrumentableName(java.lang.String name)
This value may be set by a parent Instrumentable, or by the InstrumentManager using the value of the 'instrumentable' attribute in the configuration of the component.
setInstrumentableName in interface org.apache.excalibur.instrument.Instrumentablename - The name used to identify a Instrumentable.public final org.apache.excalibur.instrument.Instrumentable[] getChildInstrumentables()
getChildInstrumentables in interface org.apache.excalibur.instrument.Instrumentablepublic final org.apache.excalibur.instrument.Instrument[] getInstruments()
getInstruments in interface org.apache.excalibur.instrument.Instrumentable