Class TransactionalExceptionInterceptorProvider
java.lang.Object
org.glassfish.jersey.ext.cdi1x.transaction.internal.TransactionalExceptionInterceptorProvider
- All Implemented Interfaces:
jakarta.enterprise.inject.spi.Extension,ComponentProvider,ComponentProvider
@Priority(199)
public class TransactionalExceptionInterceptorProvider
extends Object
implements ComponentProvider, jakarta.enterprise.inject.spi.Extension
Jersey CDI extension that provides means to retain
WebApplicationException
thrown from JAX-RS components implemented as CDI transactional beans.
This is to avoid the WebApplicationException from being masked with
TransactionalException. Jersey will try to restore the original
JAX-RS exception using TransactionalExceptionMapper.- Author:
- Jakub Podlesak
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic @interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanvoiddone()voidinitialize(InjectionManager injectionManager) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.glassfish.jersey.spi.ComponentProvider
bind
-
Constructor Details
-
TransactionalExceptionInterceptorProvider
public TransactionalExceptionInterceptorProvider()
-
-
Method Details
-
initialize
- Specified by:
initializein interfaceComponentProvider
-
bind
- Specified by:
bindin interfaceComponentProvider
-
done
public void done()- Specified by:
donein interfaceComponentProvider
-