@SuppressWarnings({ "unchecked", "rawtypes" })
public void wireExtensions(Class interfaceName, List extension) {
if (MailParametersHook.class.equals(interfaceName)) {
this.paramHooks = new HashMap<String, MailParametersHook>();
for (Iterator<MailParametersHook> i = extension.iterator(); i.hasNext(); ) {
MailParametersHook hook = i.next();
String[] params = hook.getMailParamNames();
for (int k = 0; k < params.length; k++) {
paramHooks.put(params[k], hook);
}
}
} else {