Class ProjectionDefinitionRegistar

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

public class ProjectionDefinitionRegistar extends Object implements org.springframework.beans.factory.config.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
  • Constructor Details

  • Method Details

    • postProcessAfterInitialization

      public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Throws:
      org.springframework.beans.BeansException