on 08-08-2005 1:41 PM
Hi all,
i try to get the data from the "/System/System Properties" list of the Monitor service. It is of type TableMonitor. But when i use the "getEntries" function it returns a "Serializable" object.
Does anyone knows which JMX Object is behind this serializable object ? Which function should i use instead ?
Is there any API description for SAP JMX objects ?
-
String objectname = new String("com.sap.default:name=\"/System/System Properties\",j2eeType=SAP_MonitorPerNode,SAP_J2EEClusterNode="clusternode",SAP_J2EECluster="+j2eecluster);
ObjectName oname = new ObjectName(objectname);
java.io.Serializable value2 = (java.io.Serializable) mbsc.invoke(oname, "getEntries", null, null);
-
Thank you,
Alex
Hi Alaxander,
try this.
Henning
Object[][] val = (Object[][])mbsc.getAttribute(oname,"Entries");
for (int i = 0; i < val.length; i++)
{
for (int j = 0; j < val<i>.length; j++)
{
output.print(val<i>[j].getClass().toString());
}
output.println();
}
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.