Diagnostic Provider XML example
Here is an example of the Diagnostic Provider Extensible Markup Language (XML).
version="6.0" platform="common" aggregationHandlerClass="com.ibm.ws.management.component.DiagnosticProviderAggregator" description="DiagnosticProvider portion of Mbean for inclusion into MBeans implementing this interface"> <attribute description="DiagnosticProviderName (not dependent on runtime, but subset of ObjectName" getMethod="getDiagnosticProviderName" name="diagnosticProviderName" type="java.lang.String" proxyInvokeType="unicall" proxySetterInvokeType="multicall"/> <operation description="Get the DiagnosticProvider ID" impact="INFO" name="getDiagnosticProviderId" role="operation" targetObjectType="objectReference" type="java.lang.String" proxyInvokeType="unicall"> <signature/> </operation> <operation description="Return the registry information based on type (config/state/selfDiag)." impact="INFO" name="getRegisteredDiagnostics" role="operation" targetObjectType="objectReference" type="com.ibm.wsspi.rasdiag.diagnosticProviderRegistration.DiagnosticProviderInfo" proxyInvokeType="unicall"> <signature/> </operation> <operation description="Dump the configuration information associated with managed resource." impact="INFO" name="configDump" role="operation" targetObjectType="objectReference" type="[Lcom.ibm.wsspi.rasdiag.DiagnosticEvent;" proxyInvokeType="multicall"> <signature> <parameter description="Attribute ID to use" name="attributeId" type="java.lang.String"/> <parameter description="Report on just registered info, or all info" name="registeredOnly" type="boolean"/> </signature> </operation> <operation description="Dump state information for the managed resource." impact="INFO" name="stateDump" role="operation" targetObjectType="objectReference" type="[Lcom.ibm.wsspi.rasdiag.DiagnosticEvent;" proxyInvokeType="multicall"> <signature> <parameter description="Attribute ID to use" name="attributeId" type="java.lang.String"/> <parameter description="Report on just registered info, or all info" name="registeredOnly" type="boolean"/> </signature> </operation> <operation description="Perform diagnostics on the managed resource driven by current diagnostic mode setting." impact="ACTION" name="selfDiagnostic" role="operation" targetObjectType="objectReference" type="[Lcom.ibm.wsspi.rasdiag.DiagnosticEvent;" proxyInvokeType="multicall"> <signature> <parameter description="Test ID to use" name="testId" type="java.lang.String"/> <parameter description="Report on just registered info, or all info" name="registeredOnly" type="boolean"/> </signature> </operation> <operation description="localize messages for console display" impact="INFO" name="localize" role="operation" targetObjectType="objectReference" type="[Ljava.lang.String;" proxyInvokeType="unicall"> <signature> <parameter description="Message Keys" name="msgKeys" type="[Ljava.lang.String;"/> <parameter description="Locale to use for output" name="locale" type="java.util.Locale"/> </signature> </operation>
Related tasks
Working with Diagnostic Providers