DATAJPA-773 - Removed explicit registration of ExposeInvocationInterceptor from CrudMethodMetadataPostProcessor.

The interceptor is now globally registered in RepositoryFactorySupport.

Related tickets: DATACMNS-749.
This commit is contained in:
Oliver Gierke
2015-08-08 11:05:15 +02:00
parent b92b9fb14b
commit eda57f29f4

View File

@@ -57,8 +57,6 @@ enum CrudMethodMetadataPostProcessor implements RepositoryProxyPostProcessor {
*/
@Override
public void postProcess(ProxyFactory factory, RepositoryInformation repositoryInformation) {
factory.addAdvice(ExposeInvocationInterceptor.INSTANCE);
factory.addAdvice(CrudMethodMetadataPopulatingMethodInterceptor.INSTANCE);
}