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.| 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) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdetermineCandidateConstructors, getEarlyBeanReference, predictBeanTypepostProcessAfterInstantiation, postProcessBeforeInstantiation, postProcessProperties, postProcessPropertyValuespostProcessBeforeInitializationpublic 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 BeanPostProcessorBeansExceptionCopyright © 2011–2022 Pivotal Software, Inc.. All rights reserved.