Class DynamicRequestMappingBeanPostProcessor
java.lang.Object
org.springframework.integration.http.inbound.DynamicRequestMappingBeanPostProcessor
- All Implemented Interfaces:
- Aware,- BeanFactoryAware,- BeanPostProcessor,- DestructionAwareBeanPostProcessor,- SmartInitializingSingleton
public class DynamicRequestMappingBeanPostProcessor
extends Object
implements BeanFactoryAware, DestructionAwareBeanPostProcessor, SmartInitializingSingleton
A 
DestructionAwareBeanPostProcessor to register request mapping
 created at runtime (e.g. via
 IntegrationFlowContext)
  by HttpRequestHandlingEndpointSupport instances
 into the IntegrationRequestMappingHandlerMapping.
 These mappings are also removed when respective HttpRequestHandlingEndpointSupport
 bean is destroyed.- Since:
- 6.2.5
- Author:
- Artem Bilan
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidpostProcessBeforeDestruction(Object bean, String beanName) postProcessBeforeInitialization(Object bean, String beanName) booleanrequiresDestruction(Object bean) voidsetBeanFactory(BeanFactory beanFactory) Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.springframework.beans.factory.config.BeanPostProcessorpostProcessAfterInitialization
- 
Constructor Details- 
DynamicRequestMappingBeanPostProcessorpublic DynamicRequestMappingBeanPostProcessor()
 
- 
- 
Method Details- 
setBeanFactory- Specified by:
- setBeanFactoryin interface- BeanFactoryAware
- Throws:
- BeansException
 
- 
afterSingletonsInstantiatedpublic void afterSingletonsInstantiated()- Specified by:
- afterSingletonsInstantiatedin interface- SmartInitializingSingleton
 
- 
postProcessBeforeInitialization- Specified by:
- postProcessBeforeInitializationin interface- BeanPostProcessor
- Throws:
- BeansException
 
- 
postProcessBeforeDestruction- Specified by:
- postProcessBeforeDestructionin interface- DestructionAwareBeanPostProcessor
- Throws:
- BeansException
 
- 
requiresDestruction- Specified by:
- requiresDestructionin interface- DestructionAwareBeanPostProcessor
 
 
-