ConfigurationCloneConfiguration, FragmentConfiguration, JettyWebXmlConfiguration, MetaInfConfiguration, WebInfConfiguration, WebXmlConfigurationpublic class AbstractConfiguration extends java.lang.Object implements Configuration
Configuration.ClassListATTR| Constructor | Description |
|---|---|
AbstractConfiguration() |
| 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.
|
public void preConfigure(WebAppContext context) throws java.lang.Exception
ConfigurationTypically this step discovers configuration resources
preConfigure in interface Configurationcontext - The context to configurejava.lang.Exception - if unable to pre configurepublic void configure(WebAppContext context) throws java.lang.Exception
Configuration
Typically this step applies the discovered configuration resources to
either the WebAppContext or the associated MetaData.
configure in interface Configurationcontext - The context to configurejava.lang.Exception - if unable to configurepublic void postConfigure(WebAppContext context) throws java.lang.Exception
ConfigurationpostConfigure in interface Configurationcontext - The context to configurejava.lang.Exception - if unable to post configurepublic void deconfigure(WebAppContext context) throws java.lang.Exception
Configurationdeconfigure in interface Configurationcontext - The context to configurejava.lang.Exception - if unable to deconfigurepublic void destroy(WebAppContext context) throws java.lang.Exception
Configurationdestroy in interface Configurationcontext - The context to configurejava.lang.Exception - if unable to destroypublic void cloneConfigure(WebAppContext template, WebAppContext context) throws java.lang.Exception
ConfigurationConfigure an instance of a WebAppContext, based on a template WebAppContext that has previously been configured by this Configuration.
cloneConfigure in interface Configurationtemplate - The template contextcontext - The context to configurejava.lang.Exception - if unable to cloneCopyright © 1995–2017 Webtide. All rights reserved.