1 package org.neo.swarm.core.aop.silc.comp;
2
3 import org.aopalliance.intercept.MethodInvocation;
4
5
6
7 public class TestInterceptor implements MethodInterceptor {
8
9 private String name;
10
11 boolean invoked;
12
13 public TestInterceptor(String name) {
14 this.name = name;
15 }
16
17 public Object invoke(MethodInvocation invocation) throws Throwable {
18 invoked = true;
19 return invocation.proceed();
20 }
21 }