Class CollectionAwareProjectionFactory
java.lang.Object
org.springframework.data.projection.SpelAwareProxyProjectionFactory
org.springframework.data.jpa.projection.CollectionAwareProjectionFactory
- All Implemented Interfaces:
Aware
,BeanClassLoaderAware
,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
-
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.ProjectionInformation
createProjectionInformation
(Class<?> projectionType) final org.springframework.data.projection.ProjectionInformation
getProjectionInformation
(Class<?> arg0) void
registerMethodInvokerFactory
(org.springframework.data.projection.MethodInterceptorFactory arg0) 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
protected org.springframework.data.projection.ProjectionInformation createProjectionInformation(Class<?> projectionType) - Overrides:
createProjectionInformation
in classorg.springframework.data.projection.SpelAwareProxyProjectionFactory
-
setBeanClassLoader
- Specified by:
setBeanClassLoader
in interfaceBeanClassLoaderAware
-
registerMethodInvokerFactory
public void registerMethodInvokerFactory(org.springframework.data.projection.MethodInterceptorFactory arg0) -
createProjection
- Specified by:
createProjection
in interfaceorg.springframework.data.projection.ProjectionFactory
-
createProjection
- Specified by:
createProjection
in interfaceorg.springframework.data.projection.ProjectionFactory
-
getProjectionInformation
public final org.springframework.data.projection.ProjectionInformation getProjectionInformation(Class<?> arg0) - Specified by:
getProjectionInformation
in interfaceorg.springframework.data.projection.ProjectionFactory
-