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)
- Description copied from interface:
RepositoryProxyPostProcessor
- Manipulates the
ProxyFactory
, e.g. add further interceptors to it.
- Specified by:
postProcess
in interface RepositoryProxyPostProcessor
Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.