this.messageHandlers = extension;
if (messageHandlers.size() == 0) {
if (serviceLog.isErrorEnabled()) {
serviceLog.error("No messageHandler configured. Check that SendMailHandler is configured in the SMTPHandlerChain");
}
throw new WiringException("No messageHandler configured");
}
} else if (MessageHook.class.equals(interfaceName)) {
this.mHandlers = extension;
} else if (HookResultHook.class.equals(interfaceName)) {