Package org.nutz.aop

Examples of org.nutz.aop.MethodMatcher


    List<Method> aops = this.getAopMethod(mirror);
    List<InterceptorPair> ipList = new ArrayList<InterceptorPair>();
    if (aops.size() < 1)
      return ipList;
    for (Method m : aops) {
      MethodMatcher mm = new SimpleMethodMatcher(m);
      for (String nm : m.getAnnotation(Aop.class).value())
        ipList.add(new InterceptorPair(ioc.get(MethodInterceptor.class, nm), mm));
    }
    return ipList;
  }
View Full Code Here


        List<Method> aops = this.getAopMethod(mirror);
        List<InterceptorPair> ipList = new ArrayList<InterceptorPair>();
        if (aops.size() < 1)
            return ipList;
        for (Method m : aops) {
            MethodMatcher mm = new SimpleMethodMatcher(m);
            for (String nm : m.getAnnotation(Aop.class).value())
                ipList.add(new InterceptorPair(ioc.get(MethodInterceptor.class, nm), mm));
        }
        return ipList;
    }
View Full Code Here

TOP

Related Classes of org.nutz.aop.MethodMatcher

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.