public class ProjectionDefinitionRegistar
extends org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapter
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.| Constructor and Description |
|---|
ProjectionDefinitionRegistar(org.springframework.beans.factory.ObjectFactory<RepositoryRestConfiguration> config)
Creates a new
ProjectionDefinitionRegistar for the given RepositoryRestConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
Object |
postProcessAfterInitialization(Object bean,
String beanName) |
determineCandidateConstructors, getEarlyBeanReference, postProcessAfterInstantiation, postProcessBeforeInitialization, postProcessBeforeInstantiation, postProcessPropertyValues, predictBeanTypepublic ProjectionDefinitionRegistar(org.springframework.beans.factory.ObjectFactory<RepositoryRestConfiguration> config)
ProjectionDefinitionRegistar for the given RepositoryRestConfiguration.config - must not be null.public Object postProcessAfterInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
postProcessAfterInitialization in interface org.springframework.beans.factory.config.BeanPostProcessorpostProcessAfterInitialization in class org.springframework.beans.factory.config.InstantiationAwareBeanPostProcessorAdapterorg.springframework.beans.BeansExceptionCopyright © 2011–2017 Pivotal Software, Inc.. All rights reserved.