org.springframework.boot.context.embedded

Interface ServletContextInitializer

  • All Superinterfaces:
    ServletContextInitializer

    Deprecated. 
    as of 1.4 in favor of ServletContextInitializer

    @Deprecated
    public interface ServletContextInitializer
    extends ServletContextInitializer
    Interface used to configure a Servlet 3.0+ context programmatically. Unlike WebApplicationInitializer, classes that implement this interface (and do not implement WebApplicationInitializer) will not be detected by SpringServletContainerInitializer and hence will not be automatically bootstrapped by the Servlet container.

    This interface is primarily designed to allow ServletContextInitializers to be managed by Spring and not the Servlet container.

    For configuration examples see WebApplicationInitializer.

    Author:
    Phillip Webb
    See Also:
    WebApplicationInitializer

Copyright © 2016 Pivotal Software, Inc.. All rights reserved.