Annotated interceptors - Declaring Interceptor Class
Declaring interceptor class You declare an interceptor in exactly the same way as defined in Method execution. i.e. the interceptor must inherit from org.jboss.aop.advice package org.jboss.aop.advice; import org.jboss.aop.joinpoint.Invocation; public interface Interceptor { public String getName(); public Object invoke(Invocation invocation) throws Throwable; }