}
//check if monitoring level is ON and only then
//do registration
if (getJdbcPoolMonitoringLevel() != MonitoringLevel.OFF) {
final JDBCConnectionPoolStatsImpl jdbcStatsImpl =
new JDBCConnectionPoolStatsImpl(mrp );
if (getJdbcPoolMonitoringLevel() == MonitoringLevel.HIGH ) {
setMonitoringEnabledHigh( poolName );
}
if (getJdbcPoolMonitoringLevel() == MonitoringLevel.LOW ) {
setMonitoringEnabledLow(poolName );