Class EntityViewAwareCrudMethodMetadataPostProcessor
java.lang.Object
com.blazebit.persistence.spring.data.base.repository.EntityViewAwareCrudMethodMetadataPostProcessor
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.data.repository.core.support.RepositoryProxyPostProcessor
public class EntityViewAwareCrudMethodMetadataPostProcessor
extends Object
implements org.springframework.data.repository.core.support.RepositoryProxyPostProcessor, org.springframework.beans.factory.BeanClassLoaderAware
Adapted
CrudMethodMetadataPostProcessor to be able to use the EntityViewManager so that we can safely determine if a class is an entity view.- Since:
- 1.6.9
- Author:
- Oliver Gierke, Thomas Darimont, Christoph Strobl, Christian Beikov, Eugen Mayer
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns aCrudMethodMetadataproxy that will lookup the actual target object by obtaining a thread bound instance from theTransactionSynchronizationManagerlater.voidpostProcess(org.springframework.aop.framework.ProxyFactory factory, org.springframework.data.repository.core.RepositoryInformation repositoryInformation) voidsetBeanClassLoader(ClassLoader classLoader)
-
Constructor Details
-
EntityViewAwareCrudMethodMetadataPostProcessor
public EntityViewAwareCrudMethodMetadataPostProcessor()
-
-
Method Details
-
setBeanClassLoader
- Specified by:
setBeanClassLoaderin interfaceorg.springframework.beans.factory.BeanClassLoaderAware
-
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
-
getCrudMethodMetadata
Returns aCrudMethodMetadataproxy that will lookup the actual target object by obtaining a thread bound instance from theTransactionSynchronizationManagerlater.
-