ServletContextInitializer
@Deprecated public interface ServletContextInitializer extends ServletContextInitializer
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 ServletContextInitializer
s to be
managed by Spring and not the Servlet container.
For configuration examples see WebApplicationInitializer
.
WebApplicationInitializer
onStartup
Copyright © 2017 Pivotal Software, Inc.. All rights reserved.