/* */ public Object listFormattedSubPoolStatistics(String formatClassName)
/* */ {
/* 117 */ JBossStatistics stats = (JBossStatistics)listStatistics();
/* 118 */ ClassLoader cl = Thread.currentThread().getContextClassLoader();
/* */
/* 120 */ StatisticsFormatter formatter = null;
/* */ try
/* */ {
/* 124 */ Class clazz = cl.loadClass(formatClassName);
/* 125 */ formatter = (StatisticsFormatter)clazz.newInstance();
/* */ }
/* */ catch (Exception e)
/* */ {
/* 129 */ log.warn("warn: statistics formatter not found, setting to " + this.statisticsFormatter);
/* 130 */ formatter = new JBossDefaultSubPoolStatisticFormatter();
/* */ }
/* */
/* 134 */ return formatter.formatStatistics(stats);
/* */ }