throw MESSAGES.multipleHandlerChainsWithSameId(handlerChainType, handlerChainId, configName);
}
final UnifiedHandlerMetaData handler = new UnifiedHandlerMetaData();
handler.setHandlerName(handlerName);
handler.setHandlerClass(handlerClass);
handlerChain.addHandler(handler);
if (!context.isBooting()) {
context.restartRequired();
}
return;
}