if (bean instanceof ActionHandler<?, ?>) {
ActionHandler<?, ?> actionHandler = (ActionHandler<?, ?>) bean;
RegisterActionHandler registerHandler = bean.getClass().getAnnotation(RegisterActionHandler.class);
if (registerHandler != null) {
ActionHandlerValidatorClass actionHandlerValidatorClass = new ActionHandlerValidatorClass(
actionHandler.getClass(),registerHandler.validator());
SpringUtils.registerBean(applicationContext, new ActionHandlerValidatorMapImpl(
actionHandler.getActionType(), actionHandlerValidatorClass));
if (actionHandlerValidatorRegistry instanceof LazyActionHandlerValidatorRegistry) {
((LazyActionHandlerValidatorRegistry) actionHandlerValidatorRegistry)
.addActionHandlerValidatorClass(actionHandler.getActionType(), actionHandlerValidatorClass);