public class SimpleInterceptor implements Interceptor
{
public String getName()
{
System.out.println("Hello");
return "Hello";
}
public Object invoke(Invocation invocation) throws Throwable
{
invocation.invokeNext();
}
}
public class SimpleInterceptor implements Interceptor
{
public String getName()
{
System.out.println("Hello");
return "Hello";
}
public Object invoke(Invocation invocation) throws Throwable
{
invocation.invokeNext();
}
}
Comments