org.springframework.data.repository.core.support
Class PersistenceExceptionTranslationRepositoryProxyPostProcessor
java.lang.Object
org.springframework.data.repository.core.support.PersistenceExceptionTranslationRepositoryProxyPostProcessor
- All Implemented Interfaces:
- RepositoryProxyPostProcessor
public class PersistenceExceptionTranslationRepositoryProxyPostProcessor
- extends Object
- implements RepositoryProxyPostProcessor
RepositoryProxyPostProcessor to register a PersistenceExceptionTranslationInterceptor on the
repository proxy.
- Author:
- Oliver Gierke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PersistenceExceptionTranslationRepositoryProxyPostProcessor
public PersistenceExceptionTranslationRepositoryProxyPostProcessor(ListableBeanFactory beanFactory)
- Creates a new
PersistenceExceptionTranslationRepositoryProxyPostProcessor using the given
ListableBeanFactory.
- Parameters:
beanFactory - must not be null.
postProcess
public void postProcess(ProxyFactory factory,
RepositoryInformation repositoryInformation)
- Description copied from interface:
RepositoryProxyPostProcessor
- Manipulates the
ProxyFactory, e.g. add further interceptors to it.
- Specified by:
postProcess in interface RepositoryProxyPostProcessor
- Parameters:
factory - will never be null.repositoryInformation - will never be null.
Copyright © 2011-2014–2014 Pivotal Software, Inc.. All rights reserved.