|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.excalibur.instrument.manager.impl.InstrumentableDescriptorImpl
public class InstrumentableDescriptorImpl
Describes a Instrumentable and acts as a Proxy to protect the original Instrumentable.
Method Summary | |
---|---|
org.apache.excalibur.instrument.manager.InstrumentableDescriptor |
getChildInstrumentableDescriptor(java.lang.String childInstrumentableName)
Returns a child InstrumentableDescriptor based on its name or the name of any of its children. |
org.apache.excalibur.instrument.manager.InstrumentableDescriptor[] |
getChildInstrumentableDescriptors()
Returns an array of Descriptors for the child Instrumentables registered by this Instrumentable. |
java.lang.String |
getDescription()
Gets the description of the Instrumentable. |
org.apache.excalibur.instrument.manager.InstrumentDescriptor |
getInstrumentDescriptor(java.lang.String instrumentName)
Returns a InstrumentDescriptor based on its name. |
org.apache.excalibur.instrument.manager.InstrumentDescriptor[] |
getInstrumentDescriptors()
Returns an array of Descriptors for the Instruments registered by this Instrumentable. |
java.lang.String |
getName()
Gets the name for the Instrumentable. |
org.apache.excalibur.instrument.manager.InstrumentableDescriptor |
getParentInstrumentableDescriptor()
Returns the parent InstrumentableDescriptor or null if this is a top level instrumentable. |
int |
getStateVersion()
Returns the stateVersion of the instrumentable. |
boolean |
isConfigured()
Returns true if the Instrumentable was configured in the instrumentables section of the configuration. |
boolean |
isRegistered()
Returns true if the Instrumentable was registered with the Instrument Manager. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isConfigured()
isConfigured
in interface org.apache.excalibur.instrument.manager.InstrumentableDescriptor
public boolean isRegistered()
isRegistered
in interface org.apache.excalibur.instrument.manager.InstrumentableDescriptor
public java.lang.String getName()
getName
in interface org.apache.excalibur.instrument.manager.InstrumentableDescriptor
public java.lang.String getDescription()
getDescription
in interface org.apache.excalibur.instrument.manager.InstrumentableDescriptor
public org.apache.excalibur.instrument.manager.InstrumentableDescriptor getParentInstrumentableDescriptor()
getParentInstrumentableDescriptor
in interface org.apache.excalibur.instrument.manager.InstrumentableDescriptor
public org.apache.excalibur.instrument.manager.InstrumentableDescriptor getChildInstrumentableDescriptor(java.lang.String childInstrumentableName) throws org.apache.excalibur.instrument.manager.NoSuchInstrumentableException
getChildInstrumentableDescriptor
in interface org.apache.excalibur.instrument.manager.InstrumentableDescriptor
childInstrumentableName
- Name of the child Instrumentable being
requested.
org.apache.excalibur.instrument.manager.NoSuchInstrumentableException
- If the specified Instrumentable
does not exist.public org.apache.excalibur.instrument.manager.InstrumentableDescriptor[] getChildInstrumentableDescriptors()
getChildInstrumentableDescriptors
in interface org.apache.excalibur.instrument.manager.InstrumentableDescriptor
public org.apache.excalibur.instrument.manager.InstrumentDescriptor getInstrumentDescriptor(java.lang.String instrumentName) throws org.apache.excalibur.instrument.manager.NoSuchInstrumentException
getInstrumentDescriptor
in interface org.apache.excalibur.instrument.manager.InstrumentableDescriptor
instrumentName
- Name of the Instrument being requested.
org.apache.excalibur.instrument.manager.NoSuchInstrumentException
- If the specified Instrument does
not exist.public org.apache.excalibur.instrument.manager.InstrumentDescriptor[] getInstrumentDescriptors()
getInstrumentDescriptors
in interface org.apache.excalibur.instrument.manager.InstrumentableDescriptor
public int getStateVersion()
getStateVersion
in interface org.apache.excalibur.instrument.manager.InstrumentableDescriptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |