0

I have found a screenshot of JConsole at http://doc.algotrader.ch/html/Client.html and it suprised me that it's able to present attribute values as a spreadsheet. Does anyone know what magic is required here? I guess it not a standard jconsole/jmx feature...

I don't have enough reputation point to post images, so just scroll down to the first image following the link above and look the attribute DataBalances.

reluxa
  • 305
  • 1
  • 2
  • 7

1 Answers1

0

It's collection of BalanceVO.

Check ManagementService

  • Thanks, I 've found this javadoc too. I tried to return a collection of simple JavaBean as they do. After putting my JavaBean class on the classpath of JConsole it only showed the toString() of collection... So it did not display it in table format. – reluxa Jul 10 '14 at 12:20
  • I think there are some rules what you can expose. You can start with java.io.Serializable and also collection which you return should also implement Serializable. – Radek H Jul 11 '14 at 13:32
  • Correct wihtout implementing the java.io.Serializable exception is thrown. But even if I made my class Serializable it did not shown as table. – reluxa Jul 14 '14 at 13:08