Class AcrossWebApplicationAutoConfiguration

java.lang.Object
com.foreach.across.config.AcrossWebApplicationAutoConfiguration

@ConditionalOnWebApplication(type=SERVLET) @ConditionalOnBean(AcrossContext.class) @Configuration @Import({org.springframework.boot.autoconfigure.web.servlet.DispatcherServletAutoConfiguration.class,org.springframework.boot.autoconfigure.web.servlet.ServletWebServerFactoryAutoConfiguration.class}) public class AcrossWebApplicationAutoConfiguration extends Object
Supports Spring Boot configuration of an AcrossContext, ensures bootstrap of the AcrossContext is done before the web server starts.
Since:
1.1.2
Author:
Arne Vandamme
See Also:
  • Constructor Details

    • AcrossWebApplicationAutoConfiguration

      public AcrossWebApplicationAutoConfiguration()
  • Method Details

    • embeddedAcrossServletContextInitializer

      @Bean public static AcrossServletContextInitializer embeddedAcrossServletContextInitializer(org.springframework.web.context.ConfigurableWebApplicationContext webApplicationContext)