*/
public void registerPool(PoolInfo poolInfo) {
if(poolManager.getPool(poolInfo) != null) {
getProbeProviderUtil().createJdbcProbeProvider();
//Found in the pool table (pool has been initialized/created)
JdbcConnPoolStatsProvider jdbcPoolStatsProvider =
new JdbcConnPoolStatsProvider(poolInfo, logger);
StatsProviderManager.register(
"jdbc-connection-pool",
PluginPoint.SERVER,
ConnectorsUtil.getPoolMonitoringSubTreeRoot(poolInfo, true), jdbcPoolStatsProvider);
//String jdbcPoolName = jdbcPoolStatsProvider.getJdbcPoolName();
PoolLifeCycleListenerRegistry registry =
connectionPoolStatsProviderBootstrapProvider.get().registerPool(
poolInfo,
getProbeProviderUtil().getJdbcProbeProvider());
jdbcPoolStatsProvider.setPoolRegistry(registry);
jdbcStatsProviders.add(jdbcPoolStatsProvider);
}
}