Class ProjectionDefinitionRegistar

java.lang.Object
org.springframework.data.rest.webmvc.config.ProjectionDefinitionRegistar
All Implemented Interfaces:
BeanPostProcessor, InstantiationAwareBeanPostProcessor, SmartInstantiationAwareBeanPostProcessor

public class ProjectionDefinitionRegistar extends Object implements SmartInstantiationAwareBeanPostProcessor
BeanPostProcessor to make sure all excerpt projections defined in RepositoryResourceMappings are registered with the RepositoryRestConfiguration. This rather external configuration has been used to make sure we don't introduce a cyclic dependency between RepositoryRestConfiguration an RepositoryResourceMappings as the latter need access to the former to discover mappings in the first place.
Since:
2.5
Author:
Oliver Gierke