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
-
Method Summary
Modifier and TypeMethodDescription<T extends Object>
TcreateProjection
(Class<T> arg0) <T extends Object>
TcreateProjection
(Class<T> arg0, Object arg1) protected ProjectionInformation
createProjectionInformation
(Class<?> projectionType) final ProjectionInformation
getProjectionInformation
(Class<?> arg0) void
void
Methods inherited from class org.springframework.data.projection.SpelAwareProxyProjectionFactory
postProcessAccessorInterceptor, setBeanFactory
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.projection.ProjectionFactory
createNullableProjection
-
Constructor Details
-
CollectionAwareProjectionFactory
public CollectionAwareProjectionFactory()
-
-
Method Details
-
createProjectionInformation
- Overrides:
createProjectionInformation
in classSpelAwareProxyProjectionFactory
-
setBeanClassLoader
- Specified by:
setBeanClassLoader
in interfaceBeanClassLoaderAware
-
registerMethodInvokerFactory
-
createProjection
- Specified by:
createProjection
in interfaceProjectionFactory
-
createProjection
- Specified by:
createProjection
in interfaceProjectionFactory
-
getProjectionInformation
- Specified by:
getProjectionInformation
in interfaceProjectionFactory
-