package org.jboss.test.aop.bean;
import org.jboss.aop.joinpoint.FieldInvocation;
import org.jboss.aop.advice.Interceptor;
import org.jboss.aop.joinpoint.Invocation;
import org.jboss.aop.joinpoint.MethodInvocation;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
public class InstanceOfInterceptor implements Interceptor
{
public String getName()
{
return "SimpleInterceptor";
}
public Object invoke(Invocation invocation) throws Throwable
{
intercepted = true;
return invocation.invokeNext();
}
public static boolean intercepted;
}