You can define it like that but you'd need to write a custom Java component to
translate/convert your MBean's data (however it is represented by your Mean) to an RHQ
Configuration object.
For an example, see how the Hibernate plugin does it for the Hibernate Statistics:
http://git.fedorahosted.org/cgit/rhq/rhq.git/tree/modules/plugins/hiberna...
----- Original Message -----
Hi,
When using a custom JMX plugin (as in the demo), what kind of data
should an MBean return in order to be able to display the
operation's result using a configuration like (rhq-plugin.xml)
<operation name="snapshot"
displayName="snapshot"
description="Process snapshot.">
<results>
<c:list-property name="snapshots">
<c:map-property name="snapshot">
<c:simple-property name="id" description="process id"/>
<c:simple-property name="timeStamp" description="timestamp"/>
<c:simple-property name="value" > </c:simple-property>
</c:map-property>
</c:list-property>
</results>
</operation>
I've tried various combinations with Open MBean, but couldn't make it
work.
Any ideas? Or can someone indicate a working example?
Thank you,
Alex
_______________________________________________
rhq-users mailing list
rhq-users(a)lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/rhq-users