com.ibm.wsspi.rasdiag.diagnosticProviderRegistration
Class AttributeBeanInfo
- java.lang.Object
com.ibm.wsspi.rasdiag.diagnosticProviderRegistration.AttributeBeanInfo
- public class AttributeBeanInfo
- extends java.lang.Object
AttributeBeanInfo
class stores configuration registry
information as a member class of DiagnosticProviderInfo
.
It contains an array of AttributeInfo
objects
See Also:
Constructor Summary
Constructor and Description |
---|
AttributeBeanInfo(java.lang.Object aConfigBean,java.lang.Object aStateBean,java.lang.Object aTestBean,DiagnosticProviderInfo aDPInfo,java.lang.String aDPName)
construct the object including finding attributes, methods, and binding to the AttributeInfo array
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
populateMap(java.lang.String aAttributeId,java.util.HashMap payLoad,boolean aRegisteredOnly,java.lang.String dumpType)
populate the payload for a DiagnosticEvent with the information available from the dataBean.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
AttributeBeanInfo
- public AttributeBeanInfo(java.lang.Object aConfigBean,
- java.lang.Object aStateBean,
- java.lang.Object aTestBean,
- DiagnosticProviderInfo aDPInfo,
- java.lang.String aDPName)
construct the object including finding attributes, methods, and binding to the AttributeInfo array
Method Detail
populateMap
- public void populateMap(java.lang.String aAttributeId,
- java.util.HashMap payLoad,
- boolean aRegisteredOnly,
- java.lang.String dumpType)
populate the payload for a DiagnosticEvent with the information available from the dataBean. Includes
filtering, and driving the appropriate methods, then using the attribs to associate a message key
In the case of selfDiagnostics, it is assumed that the selfDiagnostic was already run, and that the
JBean is for gathering the results. The internal populate method will be driven with the attributes
associated with all tests. It is assumed that the attribute names will be tied to test names and that
this will provide the needed filtering (or that the get methods will return no value when their value
is not relevant).
Parameters:
payLoad
- HashMap containing the payload to go into the DiagnosticEvent aAttributeId
- regular expression string to filter available attributes by aRegisteredOnly
- boolean to determine if all matching attributes should be returned, or just those that are registered dumpType
- config or state constant to know which type of dataBean this is