Package net.paoding.rose.web.annotation

Examples of net.paoding.rose.web.annotation.Interceptor


                logger.error("", new IllegalArgumentException("Interceptor must be end with '"
                        + RoseConstants.INTERCEPTOR_SUFFIX + "': " + userClass.getName()));
                continue;
            }
            InterceptorBuilder builder = new InterceptorBuilder(interceptor);
            Interceptor annotation = userClass.getAnnotation(Interceptor.class);
            if (annotation != null) {
                builder.oncePerRequest(annotation.oncePerRequest());
            }
            String interceporName;
            if (beanName.startsWith(AUTO_BEAN_NAME_PREFIX)) {
                interceporName = StringUtils.removeEnd(StringUtils.uncapitalize(userClass
                        .getSimpleName()), RoseConstants.INTERCEPTOR_SUFFIX);
View Full Code Here

TOP

Related Classes of net.paoding.rose.web.annotation.Interceptor

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.