Spring Data Core

org.springframework.data.repository.core.support
Class PersistenceExceptionTranslationRepositoryProxyPostProcessor

java.lang.Object
  extended by 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

Constructor Summary
PersistenceExceptionTranslationRepositoryProxyPostProcessor(ListableBeanFactory beanFactory)
          Creates a new PersistenceExceptionTranslationRepositoryProxyPostProcessor using the given ListableBeanFactory.
 
Method Summary
 void postProcess(ProxyFactory factory)
          Manipulates the ProxyFactory, e.g. add further interceptors to it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PersistenceExceptionTranslationRepositoryProxyPostProcessor

public PersistenceExceptionTranslationRepositoryProxyPostProcessor(ListableBeanFactory beanFactory)
Creates a new PersistenceExceptionTranslationRepositoryProxyPostProcessor using the given ListableBeanFactory.

Parameters:
beanFactory - must not be null.
Method Detail

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

Spring Data Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.