Class CollectionAwareProjectionFactory
java.lang.Object
org.springframework.data.projection.SpelAwareProxyProjectionFactory
org.springframework.data.jpa.projection.CollectionAwareProjectionFactory
- All Implemented Interfaces:
Aware,BeanClassLoaderAware,BeanFactoryAware,ProjectionFactory
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
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 ProjectionInformationcreateProjectionInformation(Class<?> projectionType) final ProjectionInformationgetProjectionInformation(Class<?> arg0) voidvoidMethods 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
- Overrides:
createProjectionInformationin classSpelAwareProxyProjectionFactory
-
setBeanClassLoader
- Specified by:
setBeanClassLoaderin interfaceBeanClassLoaderAware
-
registerMethodInvokerFactory
-
createProjection
- Specified by:
createProjectionin interfaceProjectionFactory
-
createProjection
- Specified by:
createProjectionin interfaceProjectionFactory
-
getProjectionInformation
- Specified by:
getProjectionInformationin interfaceProjectionFactory
-