final CommandInterceptorChain commandInterceptorChain = new CommandInterceptorChain(
command, commandMetaData, commandInterceptors.iterator(),
commandHandler);
return commandInterceptorChain.proceed();
}
private CommandHandler<?> findCommandHandler(final Object command) {
final CommandHandler<?> commandHandler = commandHandlers.get(command
.getClass());