Class CollectionAwareProjectionFactory
java.lang.Object
org.springframework.data.projection.SpelAwareProxyProjectionFactory
org.springframework.data.jpa.projection.CollectionAwareProjectionFactory
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanClassLoaderAware,org.springframework.beans.factory.BeanFactoryAware,org.springframework.data.projection.ProjectionFactory
public class CollectionAwareProjectionFactory
extends org.springframework.data.projection.SpelAwareProxyProjectionFactory
A
ProjectionFactory considering projections containing collections or
maps to be open.- Author:
- Jens Schauder, Oliver Gierke
-
Nested Class Summary
Nested classes/interfaces inherited from class org.springframework.data.projection.SpelAwareProxyProjectionFactory
org.springframework.data.projection.SpelAwareProxyProjectionFactory.SpelAwareProjectionInformation -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends Object>
TcreateProjection(Class<T> arg0) <T extends Object>
TcreateProjection(Class<T> arg0, Object arg1) protected org.springframework.data.projection.ProjectionInformationcreateProjectionInformation(Class<?> projectionType) final org.springframework.data.projection.ProjectionInformationgetProjectionInformation(Class<?> arg0) voidregisterMethodInvokerFactory(org.springframework.data.projection.MethodInterceptorFactory arg0) voidMethods inherited from class org.springframework.data.projection.SpelAwareProxyProjectionFactory
postProcessAccessorInterceptor, setBeanFactoryMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.data.projection.ProjectionFactory
createNullableProjection
-
Constructor Details
-
CollectionAwareProjectionFactory
public CollectionAwareProjectionFactory()
-
-
Method Details
-
createProjectionInformation
protected org.springframework.data.projection.ProjectionInformation createProjectionInformation(Class<?> projectionType) - Overrides:
createProjectionInformationin classorg.springframework.data.projection.SpelAwareProxyProjectionFactory
-
setBeanClassLoader
- Specified by:
setBeanClassLoaderin interfaceorg.springframework.beans.factory.BeanClassLoaderAware
-
registerMethodInvokerFactory
public void registerMethodInvokerFactory(org.springframework.data.projection.MethodInterceptorFactory arg0) -
createProjection
- Specified by:
createProjectionin interfaceorg.springframework.data.projection.ProjectionFactory
-
createProjection
- Specified by:
createProjectionin interfaceorg.springframework.data.projection.ProjectionFactory
-
getProjectionInformation
public final org.springframework.data.projection.ProjectionInformation getProjectionInformation(Class<?> arg0) - Specified by:
getProjectionInformationin interfaceorg.springframework.data.projection.ProjectionFactory
-