Class AnnotationDrivenConfigCustomizer

java.lang.Object
org.craftercms.engine.util.spring.mvc.AnnotationDrivenConfigCustomizer
All Implemented Interfaces:
org.springframework.beans.factory.config.BeanPostProcessor

public class AnnotationDrivenConfigCustomizer extends Object implements org.springframework.beans.factory.config.BeanPostProcessor
Bean post processor used to customize some of the beans defined by the Spring tag <mvc:annotation-driven/>, which can't be overwritten.
Author:
avasquez
  • Constructor Details

    • AnnotationDrivenConfigCustomizer

      public AnnotationDrivenConfigCustomizer()
  • Method Details

    • setContentNegotiationManager

      public void setContentNegotiationManager(org.springframework.web.accept.ContentNegotiationManager contentNegotiationManager)
    • setMessageConverters

      public void setMessageConverters(List<org.springframework.http.converter.HttpMessageConverter<?>> messageConverters)
    • setInterceptors

      public void setInterceptors(List<Object> interceptors)
    • postProcessBeforeInitialization

      public Object postProcessBeforeInitialization(Object bean, String beanName) throws org.springframework.beans.BeansException
      Specified by:
      postProcessBeforeInitialization in interface org.springframework.beans.factory.config.BeanPostProcessor
      Throws:
      org.springframework.beans.BeansException
    • 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