while( threadPoolsIterator.hasNext() ) {
MonitoredObject threadPool = (MonitoredObject) threadPoolsIterator.next();
try {
ThreadPoolStats threadPoolStats =
new ThreadPoolStatsImpl( threadPool );
registry.registerThreadPoolStats( threadPoolStats,
threadPoolRoot.getName() +
"." + MonitoringConstants.THREADPOOL_MONITORING_ROOT +