@Priority(value=199) public class TransactionalExceptionInterceptorProvider extends Object implements ComponentProvider, javax.enterprise.inject.spi.Extension
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.| Modifier and Type | Class and Description |
|---|---|
static interface |
TransactionalExceptionInterceptorProvider.WaeQualifier |
| Constructor and Description |
|---|
TransactionalExceptionInterceptorProvider() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
bind(Class<?> component,
Set<Class<?>> providerContracts) |
void |
done() |
void |
initialize(org.glassfish.jersey.internal.inject.InjectionManager injectionManager) |
public TransactionalExceptionInterceptorProvider()
public void initialize(org.glassfish.jersey.internal.inject.InjectionManager injectionManager)
initialize in interface ComponentProviderpublic boolean bind(Class<?> component, Set<Class<?>> providerContracts)
bind in interface ComponentProviderpublic void done()
done in interface ComponentProviderCopyright © 2007-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.