|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.excalibur.instrument.manager.impl.InstrumentableDescriptorImpl
Describes a Instrumentable and acts as a Proxy to protect the original Instrumentable.
Method Summary | |
InstrumentableDescriptor |
getChildInstrumentableDescriptor(java.lang.String childInstrumentableName)
Returns a child InstrumentableDescriptor based on its name or the name of any of its children. |
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. |
InstrumentDescriptor |
getInstrumentDescriptor(java.lang.String instrumentName)
Returns a InstrumentDescriptor based on its name. |
InstrumentDescriptor[] |
getInstrumentDescriptors()
Returns an array of Descriptors for the Instruments registered by this Instrumentable. |
java.lang.String |
getName()
Gets the name for the Instrumentable. |
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 InstrumentableDescriptor
public boolean isRegistered()
isRegistered
in interface InstrumentableDescriptor
public java.lang.String getName()
getName
in interface InstrumentableDescriptor
public java.lang.String getDescription()
getDescription
in interface InstrumentableDescriptor
public InstrumentableDescriptor getParentInstrumentableDescriptor()
getParentInstrumentableDescriptor
in interface InstrumentableDescriptor
public InstrumentableDescriptor getChildInstrumentableDescriptor(java.lang.String childInstrumentableName) throws NoSuchInstrumentableException
getChildInstrumentableDescriptor
in interface InstrumentableDescriptor
childInstrumentableName
- Name of the child Instrumentable being
requested.
NoSuchInstrumentableException
- If the specified Instrumentable
does not exist.public InstrumentableDescriptor[] getChildInstrumentableDescriptors()
getChildInstrumentableDescriptors
in interface InstrumentableDescriptor
public InstrumentDescriptor getInstrumentDescriptor(java.lang.String instrumentName) throws NoSuchInstrumentException
getInstrumentDescriptor
in interface InstrumentableDescriptor
instrumentName
- Name of the Instrument being requested.
NoSuchInstrumentException
- If the specified Instrument does
not exist.public InstrumentDescriptor[] getInstrumentDescriptors()
getInstrumentDescriptors
in interface InstrumentableDescriptor
public int getStateVersion()
getStateVersion
in interface InstrumentableDescriptor
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |