-
1. Re: Display Tabular Data
mazz Feb 20, 2009 3:24 PM (in response to nsyed4)Take a look at the hibernate plugin - it does this very thing (the statistics operation results in a tabular map of statistics):
https://anonsvn.jboss.org/repos/jopr/trunk/modules/plugins/hibernate/
Specifically, you need to write a resource component in your plugin to map your operation results into a Configuration object, as this hibernate component does:
https://anonsvn.jboss.org/repos/jopr/trunk/modules/plugins/hibernate/src/main/java/org/rhq/plugins/hibernate/StatisticsComponent.java -
2. Re: Display Tabular Data
mazz Feb 20, 2009 3:25 PM (in response to nsyed4)Oh, and you'll need to know how to declare this metadata in your descriptor - see the hibernate plugin descriptor as an example:
https://anonsvn.jboss.org/repos/jopr/trunk/modules/plugins/hibernate/src/main/resources/META-INF/rhq-plugin.xml -
3. Re: Display Tabular Data
nsyed4 Feb 20, 2009 3:38 PM (in response to nsyed4)This is exactly what I was looking for.
Thanks.