// --------------------------- SIP -------------------------------------
private void doSipConfig(HttpServletRequest request) throws Exception
{
MultiplePrinter printer = new MultiplePrinter();
ObjectName[] connectors = (ObjectName[]) _mbsc.getAttribute(ConsoleFilter.CONNECTOR_MANAGER, "connectors");
printer.add(new SetPrinter(connectors, "sip.connectors", _mbsc));
ObjectName threadPool = (ObjectName) _mbsc.getAttribute(
ConsoleFilter.SERVER, "sipThreadPool");
PropertyList properties = new PropertyList(_mbsc, threadPool, "sip.threadPool");
for (Property property : properties)
{
String name = property.getName();
int index = Math.max(name.indexOf("in pool"), name.indexOf("in the pool"));
if (index != -1)
property.setName(name.substring(0, index));
}
printer.add(new PropertiesPrinter(properties));
printer.add(new PropertiesPrinter(ConsoleFilter.TRANSACTION_MANAGER, "sip.timers", _mbsc)
{
@Override
protected void printHeaders(Writer out, boolean hasNotes) throws Exception
{
out.write("<div class=\"data\">\n<table>\n"