KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > test > spring > aspect > MyBeforeAdvice


1 package test.spring.aspect;
2
3 import java.lang.reflect.Method JavaDoc;
4
5 import org.springframework.aop.MethodBeforeAdvice;
6 import test.spring.Test;
7
8 public class MyBeforeAdvice implements MethodBeforeAdvice {
9     public void _before() throws Throwable JavaDoc {
10         Test.log("before ");
11     }
12     public void before(Method JavaDoc m, Object JavaDoc[] args, Object JavaDoc target) throws Throwable JavaDoc {
13         Test.log("before ");
14     }
15 }
Popular Tags