public void wireExtensions(Class<?> interfaceName, List<?> extension) throws WiringException {
if (interfaceName.equals(LineHandler.class)) {
// add stats for all hooks
for (Object anExtension : extension) {
LineHandler c = (LineHandler) anExtension;
if (!equals(c)) {
String cName = c.getClass().getName();
try {
lStats.put(cName, new LineHandlerStats(jmxName, cName));
} catch (Exception e) {
throw new WiringException("Unable to wire Hooks", e);
}