Package jodd.madvoc.meta

Examples of jodd.madvoc.meta.InterceptedBy


  /**
   * Reads class interceptors when method interceptors are not available.
   */
  protected Class<? extends ActionInterceptor>[] readClassInterceptors(Class actionClass) {
    Class<? extends ActionInterceptor>[] result = null;
    InterceptedBy interceptedBy = ((Class<?>)actionClass).getAnnotation(InterceptedBy.class);
    if (interceptedBy != null) {
      result = interceptedBy.value();
      if (result.length == 0) {
        result = null;
      }
    }
    return result;
View Full Code Here


  /**
   * Reads method interceptors.
   */
  protected Class<? extends ActionInterceptor>[] readMethodInterceptors(Method actionMethod) {
    Class<? extends ActionInterceptor>[] result = null;
    InterceptedBy interceptedBy = actionMethod.getAnnotation(InterceptedBy.class);
    if (interceptedBy != null) {
      result = interceptedBy.value();
      if (result.length == 0) {
        result = null;
      }
    }
    return result;
View Full Code Here

  /**
   * Reads class or method annotation for action interceptors.
   */
  protected Class<? extends ActionInterceptor>[] readActionInterceptors(AnnotatedElement actionClassOrMethod) {
    Class<? extends ActionInterceptor>[] result = null;
    InterceptedBy interceptedBy = actionClassOrMethod.getAnnotation(InterceptedBy.class);
    if (interceptedBy != null) {
      result = interceptedBy.value();
      if (result.length == 0) {
        result = null;
      }
    }
    return result;
View Full Code Here

TOP

Related Classes of jodd.madvoc.meta.InterceptedBy

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.