JBoss.org Community Documentation
The @InterceptorDef
annotation is used to mark an
AspectFactory as follows:
package com.mypackage; import org.jboss.aop.advice.AspectFactory; @InterceptorDef (scope=org.jboss.aop.advice.Scope.PER_VM) @Bind (pointcut="execution("* com.blah.Test->test2(..)") public class MyInterceptorFactory implements AspectFactory { //Implemented methods left out for brevity }