Class ModelIntegrationTestConfiguration

java.lang.Object
org.bremersee.pagebuilder.integration.ModelIntegrationTestConfiguration
All Implemented Interfaces:
org.springframework.web.servlet.config.annotation.WebMvcConfigurer

@SpringBootConfiguration @EnableAutoConfiguration @ComponentScan(basePackageClasses=IntegrationRestController.class) public class ModelIntegrationTestConfiguration extends Object implements org.springframework.web.servlet.config.annotation.WebMvcConfigurer
The model integration test configuration.
Author:
Christian Bremer
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Creates jaxb context builder bean.
    org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer
    Creates customizer for jackson 2 object mapper builder.
    Creates xml http message converter bean.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.springframework.web.servlet.config.annotation.WebMvcConfigurer

    addArgumentResolvers, addCorsMappings, addErrorResponseInterceptors, addFormatters, addInterceptors, addResourceHandlers, addReturnValueHandlers, addViewControllers, configureAsyncSupport, configureContentNegotiation, configureDefaultServletHandling, configureHandlerExceptionResolvers, configureMessageConverters, configurePathMatch, configureViewResolvers, extendHandlerExceptionResolvers, extendMessageConverters, getMessageCodesResolver, getValidator
  • Constructor Details

    • ModelIntegrationTestConfiguration

      public ModelIntegrationTestConfiguration()
  • Method Details

    • jaxbContextBuilder

      @Bean public JaxbContextBuilder jaxbContextBuilder()
      Creates jaxb context builder bean.
      Returns:
      the jaxb context builder
    • xmlHttpMessageConverter

      @Bean public Jaxb2HttpMessageConverter xmlHttpMessageConverter(JaxbContextBuilder jaxbContextBuilder)
      Creates xml http message converter bean.
      Parameters:
      jaxbContextBuilder - the jaxb context builder
      Returns:
      the jaxb 2 http message converter
    • jsonCustomizer

      @Bean public org.springframework.boot.autoconfigure.jackson.Jackson2ObjectMapperBuilderCustomizer jsonCustomizer()
      Creates customizer for jackson 2 object mapper builder.
      Returns:
      the jackson 2 object mapper builder customizer