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 SpelAwareProxyProjectionFactory
SpelAwareProxyProjectionFactory.SpelAwareProjectionInformation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> T
createProjection
(Class<T> arg0) <T> T
createProjection
(Class<T> arg0, Object arg1) protected ProjectionInformation
createProjectionInformation
(Class<?> projectionType) final ProjectionInformation
getProjectionInformation
(Class<?> arg0) void
void
Methods inherited from class SpelAwareProxyProjectionFactory
postProcessAccessorInterceptor, setBeanFactory
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface 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
-