Class EntityViewReplacingMethodInterceptor
java.lang.Object
com.blazebit.persistence.spring.data.repository.EntityViewReplacingMethodInterceptor
- All Implemented Interfaces:
org.aopalliance.aop.Advice,org.aopalliance.intercept.Interceptor,org.aopalliance.intercept.MethodInterceptor,org.springframework.data.repository.core.support.RepositoryProxyPostProcessor
public class EntityViewReplacingMethodInterceptor
extends Object
implements org.aopalliance.intercept.MethodInterceptor, org.springframework.data.repository.core.support.RepositoryProxyPostProcessor
- Since:
- 1.6.9
- Author:
- Christian Beikov, Eugen Mayer
-
Constructor Summary
ConstructorsConstructorDescriptionEntityViewReplacingMethodInterceptor(jakarta.persistence.EntityManager em, com.blazebit.persistence.view.EntityViewManager evm) -
Method Summary
Modifier and TypeMethodDescriptioninvoke(org.aopalliance.intercept.MethodInvocation invocation) voidpostProcess(org.springframework.aop.framework.ProxyFactory factory, org.springframework.data.repository.core.RepositoryInformation repositoryInformation)
-
Constructor Details
-
EntityViewReplacingMethodInterceptor
public EntityViewReplacingMethodInterceptor(jakarta.persistence.EntityManager em, com.blazebit.persistence.view.EntityViewManager evm)
-
-
Method Details
-
postProcess
public void postProcess(org.springframework.aop.framework.ProxyFactory factory, org.springframework.data.repository.core.RepositoryInformation repositoryInformation) - Specified by:
postProcessin interfaceorg.springframework.data.repository.core.support.RepositoryProxyPostProcessor
-
invoke
- Specified by:
invokein interfaceorg.aopalliance.intercept.MethodInterceptor- Throws:
Throwable
-