Package mfinder.annotation

Examples of mfinder.annotation.Action.interceptors()


        ActionProxy ap = new ActionProxy(this, namespace, path, action, method, obj);

        //interceptorStack
        String stackName = action.interceptorStack().trim();
        //not not nullable action's interceptors
        String[] interceptorNames = action.interceptors();

        List<InterceptorProxy> inters = new ArrayList<InterceptorProxy>();
        //action interceptors
        if (interceptorNames.length != 0) {
            ////action interceptorStack
View Full Code Here


            ////action interceptorStack
            if (StringUtil.isNotNull(stackName)) {
                addActionInterceptors(inters, stackName, ap);
            }
            //action中申明的interceptors
            for (String name : action.interceptors()) {
                InterceptorProxy ip = interceptors.get(name);
                if (ip == null) {
                    LOG.warn("No such Interceptor [" + name + "] defined in : " + ap.getMethodInfo());
                } else {
                    inters.add(ip);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.