java.lang.Object
org.glassfish.jersey.ext.cdi1x.validation.internal.CdiInterceptorWrapper

@Interceptor @Priority(4800) public class CdiInterceptorWrapper extends Object
JAX-RS wrapper for Hibernate CDI bean validation interceptor. Since Jersey already executes validation on JAX-RS resources, Jersey registers this wrapper into CDI container so that JAX-RS components do not get validated twice.
Author:
Jakub Podlesak
  • Constructor Details

    • CdiInterceptorWrapper

      @Inject public CdiInterceptorWrapper(jakarta.enterprise.inject.spi.BeanManager beanManager)
  • Method Details

    • validateMethodInvocation

      public Object validateMethodInvocation(jakarta.interceptor.InvocationContext ctx) throws Exception
      Throws:
      Exception
    • validateConstructorInvocation

      public void validateConstructorInvocation(jakarta.interceptor.InvocationContext ctx) throws Exception
      Throws:
      Exception