protected void renderCompRequest(RenderRequest request, RenderResponse response) throws Exception {
compView.include(request, response);
}
protected void renderListRequest(RenderRequest request, RenderResponse response) throws Exception {
ManagementContextMBean management = getManagementContext();
SortedMap components = new TreeMap();
ObjectName[] bcs = management.getBindingComponents();
for (int i = 0; i < bcs.length; i++) {
ComponentInfo info = new ComponentInfo();
info.name = getAttribute(bcs[i], "name");
info.type = "Binding Component";
info.state = getAttribute(bcs[i], "currentState");
components.put(info.name, info);
}
ObjectName[] ses = management.getEngineComponents();
for (int i = 0; i < ses.length; i++) {
ComponentInfo info = new ComponentInfo();
info.name = getAttribute(ses[i], "name");
info.type = "Service Engine";
info.state = getAttribute(ses[i], "currentState");