Package org.springframework.aop.framework

Examples of org.springframework.aop.framework.MethodCounter


  }

  public void testRegexpApplied() throws Exception {
    BeanFactory bf = getBeanFactory();
    ITestBean test = (ITestBean) bf.getBean("test");
    MethodCounter counter = (MethodCounter) bf.getBean("countingAdvice");
    assertEquals(0, counter.getCalls());
    test.getName();
    assertEquals(1, counter.getCalls());
  }
View Full Code Here

TOP

Related Classes of org.springframework.aop.framework.MethodCounter

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.