public class PersistenceExceptionTranslationRepositoryProxyPostProcessor extends Object implements RepositoryProxyPostProcessor
RepositoryProxyPostProcessor
to register a PersistenceExceptionTranslationInterceptor
on the
repository proxy.Constructor and Description |
---|
PersistenceExceptionTranslationRepositoryProxyPostProcessor(ListableBeanFactory beanFactory)
Creates a new
PersistenceExceptionTranslationRepositoryProxyPostProcessor using the given
ListableBeanFactory . |
Modifier and Type | Method and Description |
---|---|
void |
postProcess(ProxyFactory factory,
RepositoryInformation repositoryInformation)
Manipulates the
ProxyFactory , e.g. add further interceptors to it. |
public PersistenceExceptionTranslationRepositoryProxyPostProcessor(ListableBeanFactory beanFactory)
PersistenceExceptionTranslationRepositoryProxyPostProcessor
using the given
ListableBeanFactory
.beanFactory
- must not be null.public void postProcess(ProxyFactory factory, RepositoryInformation repositoryInformation)
RepositoryProxyPostProcessor
ProxyFactory
, e.g. add further interceptors to it.postProcess
in interface RepositoryProxyPostProcessor
factory
- will never be null.repositoryInformation
- will never be null.Copyright © 2011-2015–2017 Pivotal Software, Inc.. All rights reserved.