|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.stc.configuration.visitor.DescendingVisitor
com.stc.connector.management.util.MBeanInfoConfigModelHelper
Utility class for obtaining stuff from eWay configuration model to put in MBeanInfo.
| Constructor Summary | |
MBeanInfoConfigModelHelper(STCAdapterConfigurationMonitor cfgMbean)
Constructor |
|
| Method Summary | |
void |
addMBeanAttribInfoToList(java.lang.String propName,
java.lang.String description)
Adds an MBeanAttributeInfo to the config MBean. |
void |
addMBeanAttribToList(java.lang.String propName,
java.lang.Object propValue)
Sets an MBean Attribute value to the config MBean |
protected void |
traverse(com.stc.configuration.IParameter configNode)
Visits a Parameter object and adds an MBeanAttribute to the configuration MBean. |
void |
visit(com.stc.configuration.IHeader h)
Visits a Header object. |
void |
visitValue(java.lang.Object value,
com.stc.configuration.IParameter p)
Visits a parameter value. |
| Methods inherited from class com.stc.configuration.visitor.DescendingVisitor |
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public MBeanInfoConfigModelHelper(STCAdapterConfigurationMonitor cfgMbean)
cfgMbean - configuration MBean this class will populate| Method Detail |
protected void traverse(com.stc.configuration.IParameter configNode)
throws java.lang.Exception
java.lang.Exception - on error.
public void addMBeanAttribInfoToList(java.lang.String propName,
java.lang.String description)
propName - parameter namedescription - parameter description
public void addMBeanAttribToList(java.lang.String propName,
java.lang.Object propValue)
propName - parameter namepropValue - parameter valuepublic void visit(com.stc.configuration.IHeader h)
h - Header object.
public void visitValue(java.lang.Object value,
com.stc.configuration.IParameter p)
value - Parameter value.p - parent parameter.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||