public class ProjectionDefinitionRegistar extends 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(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, postProcessProperties, postProcessPropertyValues, predictBeanTypepublic ProjectionDefinitionRegistar(ObjectFactory<RepositoryRestConfiguration> config)
ProjectionDefinitionRegistar for the given RepositoryRestConfiguration.config - must not be null.public Object postProcessAfterInitialization(Object bean, String beanName) throws BeansException
postProcessAfterInitialization in interface BeanPostProcessorpostProcessAfterInitialization in class InstantiationAwareBeanPostProcessorAdapterBeansExceptionCopyright © 2011–2019 Pivotal Software, Inc.. All rights reserved.