org.apache.excalibur.instrument.client.http
Class AbstractHTTPElementData
java.lang.Object
org.apache.avalon.framework.logger.AbstractLogEnabled
org.apache.excalibur.instrument.client.http.AbstractHTTPData
org.apache.excalibur.instrument.client.http.AbstractHTTPElementData
- All Implemented Interfaces:
- org.apache.avalon.framework.logger.LogEnabled, Data, ElementData
- Direct Known Subclasses:
- AbstractHTTPInstrumentSampleElementData, HTTPInstrumentableData, HTTPInstrumentData
abstract class AbstractHTTPElementData
- extends AbstractHTTPData
- implements ElementData
- Since:
- 4.1
- Version:
- CVS $Revision: 1.4 $ $Date: 2004/02/28 11:47:23 $
- Author:
- Avalon Development Team
Method Summary |
java.lang.String |
getName()
Returns the name. |
Data |
getParent()
Returns the parent data object. |
boolean |
isConfigured()
Returns the configured flag of the remote object. |
protected static java.lang.String |
lastNameToken(java.lang.String name)
Returns the last element of a name separated by '.'s |
protected void |
update(org.apache.avalon.framework.configuration.Configuration configuration)
Update the contents of the object using values from the Configuration object. |
Methods inherited from class org.apache.avalon.framework.logger.AbstractLogEnabled |
enableLogging, getLogger, setupLogger, setupLogger, setupLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
m_parent
private AbstractHTTPData m_parent
m_name
private java.lang.String m_name
m_configured
private boolean m_configured
AbstractHTTPElementData
protected AbstractHTTPElementData(HTTPInstrumentManagerConnection connection,
AbstractHTTPData parent,
java.lang.String name)
- Creates a new AbstractHTTPElementData.
- Parameters:
connection
- The connection used to communicate with the server.parent
- The parent data element.name
- The name of the data element.
lastNameToken
protected static java.lang.String lastNameToken(java.lang.String name)
- Returns the last element of a name separated by '.'s
getParent
public Data getParent()
- Returns the parent data object.
- Specified by:
getParent
in interface ElementData
- Returns:
- The parent data object.
getName
public java.lang.String getName()
- Returns the name.
- Specified by:
getName
in interface ElementData
- Returns:
- The name.
isConfigured
public boolean isConfigured()
- Returns the configured flag of the remote object.
- Specified by:
isConfigured
in interface ElementData
- Returns:
- The configured flag of the remote object.
update
protected void update(org.apache.avalon.framework.configuration.Configuration configuration)
throws org.apache.avalon.framework.configuration.ConfigurationException
- Update the contents of the object using values from the Configuration object.
- Overrides:
update
in class AbstractHTTPData
- Parameters:
configuration
- Configuration object to load from.
- Throws:
org.apache.avalon.framework.configuration.ConfigurationException
- If there are any problems.