org.springframework.dao.DataAccessException , org.springframework.dao.support.PersistenceExceptionTranslator
| Modifier and Type | Field and Description |
|---|---|
| private final PersistenceExceptionTranslationInterceptor | |
| private final AnnotationMatchingPointcut |
| Access | Constructor and Description |
|---|---|
| public | PersistenceExceptionTranslationAdvisor(PersistenceExceptionTranslator
the PersistenceExceptionTranslator to use persistenceExceptionTranslator, Class<? extends Annotation> the annotation type to check for repositoryAnnotationType)Create a new PersistenceExceptionTranslationAdvisor. |
| pack-priv | PersistenceExceptionTranslationAdvisor(ListableBeanFactory
the ListableBeanFactory to obtaining all
PersistenceExceptionTranslators from beanFactory, Class<? extends Annotation> the annotation type to check for repositoryAnnotationType)Create a new PersistenceExceptionTranslationAdvisor. |
| Modifier and Type | Method and Description |
|---|---|
| public Advice | getAdvice()
Implements org. |
| public Pointcut | getPointcut()
Implements org. |
| advice | back to summary |
|---|---|
| private final PersistenceExceptionTranslationInterceptor advice | |
| pointcut | back to summary |
|---|---|
| private final AnnotationMatchingPointcut pointcut | |
| PersistenceExceptionTranslationAdvisor | back to summary |
|---|---|
| public PersistenceExceptionTranslationAdvisor(PersistenceExceptionTranslator persistenceExceptionTranslator, Class<? extends Annotation> repositoryAnnotationType) Create a new PersistenceExceptionTranslationAdvisor.
| |
| PersistenceExceptionTranslationAdvisor | back to summary |
|---|---|
| pack-priv PersistenceExceptionTranslationAdvisor(ListableBeanFactory beanFactory, Class<? extends Annotation> repositoryAnnotationType) Create a new PersistenceExceptionTranslationAdvisor.
| |
| getAdvice | back to summary |
|---|---|
| public Advice getAdvice() Implements org. Doc from org. Return the advice part of this aspect. An advice may be an interceptor, a before advice, a throws advice, etc. | |
| getPointcut | back to summary |
|---|---|
| public Pointcut getPointcut() Implements org. Doc from org. Get the Pointcut that drives this advisor.
| |