Package com.gwtplatform.dispatch.server.actionhandlervalidator

Examples of com.gwtplatform.dispatch.server.actionhandlervalidator.ActionHandlerValidatorClass


    public Object postProcessAfterInitialization(Object bean, String beanName) {
        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)
View Full Code Here

TOP

Related Classes of com.gwtplatform.dispatch.server.actionhandlervalidator.ActionHandlerValidatorClass

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.