List of usage examples for javax.management.openmbean CompositeDataSupport getAll
public Object[] getAll(String[] keys)
From source file:org.eclipse.virgo.management.console.UploadServlet.java
private String getDeploymentIdentity(Object deploymentIdentity) { StringBuilder builder = new StringBuilder(); if (deploymentIdentity instanceof CompositeDataSupport) { CompositeDataSupport deploymentIdentityInstance = (CompositeDataSupport) deploymentIdentity; Object[] all = deploymentIdentityInstance.getAll(DEPLOYMENT_IDENTITY_FIELDS); builder.append(all[0]);/* ww w.j av a 2s . com*/ builder.append(" - ").append(all[1]); builder.append(": ").append(all[2]); } return builder.toString(); }