public ApplicationPrinter(MBeanServerConnection connection) throws Exception
{
ObjectName[] sipContexts = PrinterUtil.getSipAppContexts(connection);
Table contextsTable = new Table(connection, sipContexts, "appContexts");
add(new SetPrinter(contextsTable));
ObjectName[] otherContexts = PrinterUtil.getNonSipAppContexts(connection);
if (otherContexts != null && otherContexts.length > 0)
{
Table otherContextsTable = new Table(connection, otherContexts, "otherContexts");
for (Row row : otherContextsTable)
{
int index = 0;
for (Header header : contextsTable.getHeaders())
{