public class JettyWebXmlConfiguration extends AbstractConfiguration
Configuration.ClassList| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JETTY_WEB_XML |
private static Logger |
LOG |
static java.lang.String |
PROPERTY_THIS_WEB_INF_URL
Deprecated.
|
static java.lang.String |
PROPERTY_WEB_INF |
static java.lang.String |
PROPERTY_WEB_INF_URI |
static java.lang.String |
XML_CONFIGURATION |
ATTR| Constructor and Description |
|---|
JettyWebXmlConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(WebAppContext context)
Configure
Apply web-jetty.xml configuration
|
private void |
setupXmlConfiguration(WebAppContext context,
XmlConfiguration jetty_config,
Resource web_inf)
Configures some well-known properties before the XmlConfiguration reads
the configuration.
|
cloneConfigure, deconfigure, destroy, postConfigure, preConfigureprivate static final Logger LOG
@Deprecated public static final java.lang.String PROPERTY_THIS_WEB_INF_URL
public static final java.lang.String PROPERTY_WEB_INF_URI
public static final java.lang.String PROPERTY_WEB_INF
public static final java.lang.String XML_CONFIGURATION
public static final java.lang.String JETTY_WEB_XML
public void configure(WebAppContext context) throws java.lang.Exception
configure in interface Configurationconfigure in class AbstractConfigurationcontext - The context to configurejava.lang.Exception - if unable to configureConfiguration.configure(WebAppContext)private void setupXmlConfiguration(WebAppContext context, XmlConfiguration jetty_config, Resource web_inf) throws java.io.IOException
jetty_config - The configuration object.web_inf - the WEB-INF locationjava.io.IOException