@Override public void test() throws JRException { try { if (connection != null) { } else { createConnection(); } connection.test(); } finally { dispose(); } }