<%@page contentType="text/html" import="java.net.*, java.beans.PropertyEditor, org.jboss.util.propertyeditor.PropertyEditors" %> Operation Results logo

JMX MBean Operation Result

Operation <%= opResultInfo.name%>()

Back to Agent ViewBack to MBean ViewReinvoke MBean Operation"); %>


<% if( opResultInfo.result == null ) { %> Operation completed successfully without a return value. <% } else { String opResultString = null; PropertyEditor propertyEditor = PropertyEditors.findEditor(opResultInfo.result.getClass()); if(propertyEditor != null) { propertyEditor.setValue(opResultInfo.result); opResultString = propertyEditor.getAsText(); } else { opResultString = opResultInfo.result.toString(); } boolean hasPreTag = opResultString.startsWith("
");
      if( hasPreTag == false )
         out.println("
");
      out.println(opResultString);
      if( hasPreTag == false )
         out.println("
"); } %>