com.ibm.wsspi.rasdiag.diagnosticProviderRegistration

Class AttributeBeanInfo

  1. java.lang.Object
  2. extended bycom.ibm.wsspi.rasdiag.diagnosticProviderRegistration.AttributeBeanInfo

  1. public class AttributeBeanInfo
  2. extends java.lang.Object
The AttributeBeanInfo class stores configuration registry information as a member class of DiagnosticProviderInfo. It contains an array of AttributeInfo objects
See Also:
AttributeInfo

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
  1. 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.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail

AttributeBeanInfo

  1. public AttributeBeanInfo(java.lang.Object aConfigBean,
  2. java.lang.Object aStateBean,
  3. java.lang.Object aTestBean,
  4. DiagnosticProviderInfo aDPInfo,
  5. java.lang.String aDPName)
construct the object including finding attributes, methods, and binding to the AttributeInfo array

Method Detail

populateMap

  1. public void populateMap(java.lang.String aAttributeId,
  2. java.util.HashMap payLoad,
  3. boolean aRegisteredOnly,
  4. 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