}
}
public String getJVMReport(final String type)
{
final JVMInformation info = new JVMInformation(getMBeanServer());
final String NL = StringUtil.LS;
final String target = "das";
String result = "FAILED";
if ("summary".equals(type))
{
result = info.getSummary(target);
}
else if ("memory".equals(type))
{
result = info.getMemoryInformation(target);
}
else if ("thread".equals(type))
{
result = info.getThreadDump(target);
}
else if ("class".equals(type))
{
result = info.getClassInformation(target);
}
else if ("log".equals(type))
{
result = info.getLogInformation(target);
}
else if ("all".equals(type))
{
result = "SUMMARY" + NL + NL + getJVMReport("summary") + NL + NL +
"MEMORY" + NL + NL + getJVMReport("memory") + NL + NL +