C - Dropwizard Configuration classpublic abstract class WebApplication<C extends io.dropwizard.Configuration>
extends io.dropwizard.Application<C>
implements javax.servlet.ServletContextListener
| Constructor and Description |
|---|
WebApplication(io.dropwizard.Application<C> dropwizardApplication,
String configurationFileLocation) |
WebApplication(io.dropwizard.Application<C> dropwizardApplication,
String[] args) |
| Modifier and Type | Method and Description |
|---|---|
void |
contextDestroyed(javax.servlet.ServletContextEvent sce) |
void |
contextInitialized(javax.servlet.ServletContextEvent sce) |
ConfigurationBridge |
getConfigurationBridge() |
String |
getName() |
void |
initialize(io.dropwizard.setup.Bootstrap<C> bootstrap) |
void |
run(C configuration,
io.dropwizard.setup.Environment environment) |
static javax.servlet.ServletContext |
servletContext() |
void |
setConfigurationBridge(ConfigurationBridge configurationBridge) |
public WebApplication(io.dropwizard.Application<C> dropwizardApplication, String configurationFileLocation)
public static javax.servlet.ServletContext servletContext()
public void setConfigurationBridge(ConfigurationBridge configurationBridge)
public ConfigurationBridge getConfigurationBridge()
public void initialize(io.dropwizard.setup.Bootstrap<C> bootstrap)
initialize in class io.dropwizard.Application<C extends io.dropwizard.Configuration>public String getName()
getName in class io.dropwizard.Application<C extends io.dropwizard.Configuration>public void contextInitialized(javax.servlet.ServletContextEvent sce)
contextInitialized in interface javax.servlet.ServletContextListenerpublic void contextDestroyed(javax.servlet.ServletContextEvent sce)
contextDestroyed in interface javax.servlet.ServletContextListenerCopyright © 2017. All rights reserved.