Package net.sourceforge.stripes.controller

Examples of net.sourceforge.stripes.controller.ActionResolver


    /** Find and return the {@link AnnotatedClassActionResolver} for the given context. */
    private static AnnotatedClassActionResolver getActionResolver(MockServletContext context) {
        for (Filter filter : context.getFilters()) {
            if (filter instanceof StripesFilter) {
                ActionResolver resolver = ((StripesFilter) filter).getInstanceConfiguration()
                        .getActionResolver();
                if (resolver instanceof AnnotatedClassActionResolver) {
                    return (AnnotatedClassActionResolver) resolver;
                }
            }
View Full Code Here


        return null;
    }

    /** Find and return the {@link UrlBindingFactory} for the given context. */
    private static UrlBindingFactory getUrlBindingFactory(MockServletContext context) {
        ActionResolver resolver = getActionResolver(context);
        if (resolver instanceof AnnotatedClassActionResolver) {
            return ((AnnotatedClassActionResolver) resolver).getUrlBindingFactory();
        }

        return null;
View Full Code Here

TOP

Related Classes of net.sourceforge.stripes.controller.ActionResolver

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.