Package org.strecks.interceptor.annotation

Examples of org.strecks.interceptor.annotation.InterceptorReaderInfo


    Annotation[] annotations = actionBeanClass.getAnnotations();

    for (Annotation annotation : annotations)
    {
      Class<? extends Annotation> annotationType = annotation.annotationType();
      InterceptorReaderInfo interceptorReaderInfo = annotationType.getAnnotation(InterceptorReaderInfo.class);

      if (interceptorReaderInfo != null)
      {
        InterceptorReader reader = ReflectHelper.createInstance(interceptorReaderInfo.value(),
            InterceptorReader.class);
        reader.readInterceptors(annotation, actionBeanClass);
        List<? extends BeforeInterceptor> bis = reader.getBeforeInterceptors();
        List<? extends AfterInterceptor> ais = reader.getAfterInterceptors();
        addAll(beforeInterceptors, bis);
View Full Code Here

TOP

Related Classes of org.strecks.interceptor.annotation.InterceptorReaderInfo

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.