AbstractConfiguration
, CloneConfiguration
, FragmentConfiguration
, JettyWebXmlConfiguration
, MetaInfConfiguration
, WebInfConfiguration
, WebXmlConfiguration
public interface Configuration
Modifier and Type | Interface | Description |
---|---|---|
static class |
Configuration.ClassList |
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
ATTR |
Modifier and Type | Method | Description |
---|---|---|
void |
cloneConfigure(WebAppContext template,
WebAppContext context) |
Clone configuration instance.
|
void |
configure(WebAppContext context) |
Configure WebApp.
|
void |
deconfigure(WebAppContext context) |
DeConfigure WebApp.
|
void |
destroy(WebAppContext context) |
Destroy WebApp.
|
void |
postConfigure(WebAppContext context) |
Clear down after configuration.
|
void |
preConfigure(WebAppContext context) |
Set up for configuration.
|
static final java.lang.String ATTR
void preConfigure(WebAppContext context) throws java.lang.Exception
Typically this step discovers configuration resources
context
- The context to configurejava.lang.Exception
- if unable to pre configurevoid configure(WebAppContext context) throws java.lang.Exception
Typically this step applies the discovered configuration resources to
either the WebAppContext
or the associated MetaData
.
context
- The context to configurejava.lang.Exception
- if unable to configurevoid postConfigure(WebAppContext context) throws java.lang.Exception
context
- The context to configurejava.lang.Exception
- if unable to post configurevoid deconfigure(WebAppContext context) throws java.lang.Exception
context
- The context to configurejava.lang.Exception
- if unable to deconfigurevoid destroy(WebAppContext context) throws java.lang.Exception
context
- The context to configurejava.lang.Exception
- if unable to destroyvoid cloneConfigure(WebAppContext template, WebAppContext context) throws java.lang.Exception
Configure an instance of a WebAppContext, based on a template WebAppContext that has previously been configured by this Configuration.
template
- The template contextcontext
- The context to configurejava.lang.Exception
- if unable to cloneCopyright © 1995–2018 Webtide. All rights reserved.