EJB Client Interceptor is not invoked when specified on EJB's Local interface:
@ClientInterceptors({ClientInterceptor.class}) @Local public interface TestLocal { public void invoke(); }
public class ClientInterceptor implements EJBClientInterceptor { @Override public void handleInvocation(EJBClientInvocationContext context) throws Exception { log.info("In the client interceptor handleInvocation : " + this.getClass().getName() + " " + context.getViewClass() + " " + context.getLocator()); // Must make this call context.sendRequest(); } @Override public Object handleInvocationResult(EJBClientInvocationContext context) throws Exception { log.info("In the client interceptor handleInvocationResult : " + this.getClass().getName() + " " + context.getViewClass() + " " + context.getLocator()); // Must make this call return context.getResult(); } }
- clones
-
WFLY-9976 EJB Client Interceptor not invoked for Local Interface
- Coding In Progress
- relates to
-
JBEAP-14243 [GSS](7.1.z) EJB invocation for Remote interface fails when Client Interceptor registered via META-INF/services/org.jboss.ejb.client.EJBClientInterceptor
- Closed