|
TPTP 4.3.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Describes component behavior Main role of the component is to provide dynamic managability.
| Method Summary | |
|---|---|
IComponent[] |
getComponents()
Method returns the components this component manages |
org.w3c.dom.Element |
getConfiguration()
Method getConfiguration. |
org.w3c.dom.Element |
getContextConfiguration()
Method getContextConfiguration. |
java.lang.String |
getDescription()
Method returns the component description |
java.lang.String |
getExecutableClassName()
Method returns the executable class name |
java.lang.String |
getImplementationCreationDate()
Method returns implementation creation date |
java.lang.String |
getImplementationVersion()
Method returns the version specific role description |
java.lang.String |
getImplementationVersionDescription()
Method returns implementation version description |
IProcessUnit |
getLogger()
Retrieve the logger for this adapter. |
short |
getLoggingLevel()
Method returns loggin level of the component |
java.lang.String |
getName()
Method returns name of the component |
IComponent |
getParent()
Components are arranged in a heirarchy. |
java.lang.String |
getRole()
Method returns the role of the component |
java.lang.String |
getRoleCreationDate()
Method returns role creation date |
java.lang.String |
getRoleVersion()
Method returns the role version |
java.lang.String |
getRoleVersionDescription()
Method returns the version specific role description |
java.lang.String |
getUniqueID()
Method returns the uniqueID of this component instance |
boolean |
init()
Method init. |
void |
log(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event)
Logging method. |
void |
log(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event,
short level)
Deprecated. Set the severity on the Common Base Event and use the log(CommonBaseEvent event) API. |
void |
setComponents(IComponent[] newComponents)
Method sets the list of components this component manages. |
void |
setConfiguration(org.w3c.dom.Element newConfiguration)
Sets the config. |
void |
setContextConfiguration(org.w3c.dom.Element newConfiguration)
Sets the context config. |
void |
setDescription(java.lang.String newDescription)
Method sets the description of this component |
void |
setExecutableClassName(java.lang.String newExecutableClassName)
Method sets executable class name |
void |
setImplemenationCreationDate(java.lang.String newImplementationCreationDate)
Method sets implementation creation date |
void |
setImplementationVersion(java.lang.String newImplementationVersion)
Method sets the implementation version in the form of x.y.z where x is a major release level, which may have api changes y is a minor release level with no api changes z is an optional fix level with no api changes |
void |
setImplementationVersionDescription(java.lang.String newImplementationVersionDescription)
Method sets implementation version description |
void |
setLogger(IProcessUnit logger)
The logger will be set by the context during initialization. |
void |
setLoggingLevel(short newLevel)
Method sets logging level of the component |
void |
setName(java.lang.String newName)
Method sets name of the component |
void |
setParent(IComponent parent)
Components are arranged in a heirarchy. |
void |
setRole(java.lang.String newRole)
Method sets the role of the component |
void |
setRoleCreationDate(java.lang.String newCreationDate)
Method sets role creation time |
void |
setRoleVersion(java.lang.String newRoleVersion)
Method sets role version |
void |
setRoleVersionDescription(java.lang.String newRoleVersionDescription)
Method sets the version specific role description |
void |
setUniqueID(java.lang.String newUniqueID)
Method sets the uniqueID of this component instance |
void |
start()
Method start. |
void |
stop()
Method stop. |
void |
update()
Method update. |
void |
update(org.w3c.dom.Element config)
Method update. |
| Method Detail |
public boolean init()
public void start()
public void stop()
public void update(org.w3c.dom.Element config)
throws AdapterInvalidConfig
config - - configuration DOM element
AdapterInvalidConfig - if the configuration is invalid or cannot be processed.
public void update()
throws AdapterInvalidConfig
AdapterInvalidConfig - if the configuration is invalid or cannot be processed.public void log(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event)
The Common Base Event is logged based on its severity.
event - The Common Base Event to be logged.
public void log(org.eclipse.hyades.logging.events.cbe.CommonBaseEvent event,
short level)
log(CommonBaseEvent event) API.
event - The Common Base Event to be logged.level - The severity of the Common Base Event to be logged.public org.w3c.dom.Element getContextConfiguration()
public void setContextConfiguration(org.w3c.dom.Element newConfiguration)
public org.w3c.dom.Element getConfiguration()
public void setConfiguration(org.w3c.dom.Element newConfiguration)
public IComponent[] getComponents()
public void setComponents(IComponent[] newComponents)
public short getLoggingLevel()
public void setLoggingLevel(short newLevel)
newLevel - - new logging levelpublic java.lang.String getName()
public void setName(java.lang.String newName)
public java.lang.String getRole()
public void setRole(java.lang.String newRole)
public java.lang.String getDescription()
public void setDescription(java.lang.String newDescription)
public java.lang.String getUniqueID()
public void setUniqueID(java.lang.String newUniqueID)
public java.lang.String getExecutableClassName()
public void setExecutableClassName(java.lang.String newExecutableClassName)
public java.lang.String getRoleVersion()
public void setRoleVersion(java.lang.String newRoleVersion)
public java.lang.String getRoleCreationDate()
public void setRoleCreationDate(java.lang.String newCreationDate)
public java.lang.String getRoleVersionDescription()
public void setRoleVersionDescription(java.lang.String newRoleVersionDescription)
public java.lang.String getImplementationVersion()
public void setImplementationVersion(java.lang.String newImplementationVersion)
public java.lang.String getImplementationCreationDate()
public void setImplemenationCreationDate(java.lang.String newImplementationCreationDate)
public java.lang.String getImplementationVersionDescription()
public void setImplementationVersionDescription(java.lang.String newImplementationVersionDescription)
public IProcessUnit getLogger()
public void setLogger(IProcessUnit logger)
logger - the logger for this component to usepublic void setParent(IComponent parent)
parent - the parent component in the hierarchypublic IComponent getParent()
|
TPTP 4.3.0 Monitoring Tools Project Public API Specification |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||