org.springframework.boot.context.embedded.jetty
Class ServletContextInitializerConfiguration

java.lang.Object
  extended by org.eclipse.jetty.webapp.AbstractConfiguration
      extended by org.springframework.boot.context.embedded.jetty.ServletContextInitializerConfiguration
All Implemented Interfaces:
org.eclipse.jetty.webapp.Configuration

public class ServletContextInitializerConfiguration
extends org.eclipse.jetty.webapp.AbstractConfiguration

Jetty Configuration that calls ServletContextInitializers.

Author:
Phillip Webb

Constructor Summary
ServletContextInitializerConfiguration(org.eclipse.jetty.server.handler.ContextHandler contextHandler, ServletContextInitializer... initializers)
          Create a new ServletContextInitializerConfiguration.
 
Method Summary
 void configure(org.eclipse.jetty.webapp.WebAppContext context)
           
 
Methods inherited from class org.eclipse.jetty.webapp.AbstractConfiguration
cloneConfigure, deconfigure, destroy, postConfigure, preConfigure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletContextInitializerConfiguration

public ServletContextInitializerConfiguration(org.eclipse.jetty.server.handler.ContextHandler contextHandler,
                                              ServletContextInitializer... initializers)
Create a new ServletContextInitializerConfiguration.

Parameters:
contextHandler - the Jetty ContextHandler
initializers - the initializers that should be invoked
Method Detail

configure

public void configure(org.eclipse.jetty.webapp.WebAppContext context)
               throws Exception
Specified by:
configure in interface org.eclipse.jetty.webapp.Configuration
Overrides:
configure in class org.eclipse.jetty.webapp.AbstractConfiguration
Throws:
Exception


Copyright © 2013. All Rights Reserved.