Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
* @see <a href="">web.xml vs Initializer with Spring</a>
* @see <a href=""></a>
public class CustomTomcatServletWebServerFactoryCustomizer
implements WebServerFactoryCustomizer<TomcatServletWebServerFactory> {
public void customize(TomcatServletWebServerFactory factory) {
factory.addContextCustomizers(new TomcatClusterContextCustomizer());
public class TomcatClusterContextCustomizer implements TomcatContextCustomizer {
public void customize(final Context context) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment