99100101102103104105106107108109
String user = userCallback.getName(); info.put("user", user); } FilterChain chain = new FilterChainImpl(this); return chain.connection_connect(info); } public DataSourceProxyConfig getConfig() { return config; }
9596979899100101102103104105
9899100101102103104105106107108
6869707172737475767778
} }; Exception error = null; try { filter.connection_connect(chain, new Properties()); } catch (SQLException ex) { error = ex; } Assert.assertNotNull(error); Assert.assertEquals(1, dataSourceStat.getConnectionStat().getConnectErrorCount());