Package jodd.madvoc.meta

Examples of jodd.madvoc.meta.FilteredBy


  /**
   * Reads class filters when method filters are not available.
   */
  protected Class<? extends ActionFilter>[] readClassFilters(Class actionClass) {
    Class<? extends ActionFilter>[] result = null;
    FilteredBy filteredBy = ((Class<?>)actionClass).getAnnotation(FilteredBy.class);
    if (filteredBy != null) {
      result = filteredBy.value();
      if (result.length == 0) {
        result = null;
      }
    }
    return result;
View Full Code Here


  /**
   * Reads method filters.
   */
  protected Class<? extends ActionFilter>[] readMethodFilters(Method actionMethod) {
    Class<? extends ActionFilter>[] result = null;
    FilteredBy filteredBy = actionMethod.getAnnotation(FilteredBy.class);
    if (filteredBy != null) {
      result = filteredBy.value();
      if (result.length == 0) {
        result = null;
      }
    }
    return result;
View Full Code Here

  /**
   * Reads class or method annotation for action filters.
   */
  protected Class<? extends ActionFilter>[] readActionFilters(AnnotatedElement actionClassOrMethod) {
    Class<? extends ActionFilter>[] result = null;
    FilteredBy filteredBy = actionClassOrMethod.getAnnotation(FilteredBy.class);
    if (filteredBy != null) {
      result = filteredBy.value();
      if (result.length == 0) {
        result = null;
      }
    }
    return result;
View Full Code Here

TOP

Related Classes of jodd.madvoc.meta.FilteredBy

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.