java - InterceptorBinding is not working -
i created custom annotation below @interceptorbinding @retention(runtime) @target(type, method) public @interface traceable {} i wrote interceptor below @traceable @interceptor public class enterexitlogger { @aroundinvoke public object aroundinvoke(invocatiobcontext c) {} } the interceptor , annotation in module called common-utils. i annotated target class @traceable @ class level below @traceable public class cdimanagedbean { } i declared interceptor entry in beans.xml file below <interceptors> <class>my.package.enterexitlogger</class> </interceptors> the target class in separate module. beans.xml in meta-inf directory of target class's module. the target class's methods called rest class. when invoke methods interceptor's aroundinvoke method not called. i read docs , understood interceptor should contain public no argument constructor. added it. still interceptor not called. i added @inherited on custom anno...