Configuration
CloneConfiguration
, FragmentConfiguration
, JettyWebXmlConfiguration
, MetaInfConfiguration
, WebInfConfiguration
, WebXmlConfiguration
public class AbstractConfiguration extends java.lang.Object implements Configuration
Configuration.ClassList
ATTR
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
Configuration
Typically this step discovers configuration resources
preConfigure
in interface Configuration
context
- 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 Configuration
context
- The context to configurejava.lang.Exception
- if unable to configurepublic void postConfigure(WebAppContext context) throws java.lang.Exception
Configuration
postConfigure
in interface Configuration
context
- The context to configurejava.lang.Exception
- if unable to post configurepublic void deconfigure(WebAppContext context) throws java.lang.Exception
Configuration
deconfigure
in interface Configuration
context
- The context to configurejava.lang.Exception
- if unable to deconfigurepublic void destroy(WebAppContext context) throws java.lang.Exception
Configuration
destroy
in interface Configuration
context
- The context to configurejava.lang.Exception
- if unable to destroypublic void cloneConfigure(WebAppContext template, WebAppContext context) throws java.lang.Exception
Configuration
Configure an instance of a WebAppContext, based on a template WebAppContext that has previously been configured by this Configuration.
cloneConfigure
in interface Configuration
template
- The template contextcontext
- The context to configurejava.lang.Exception
- if unable to cloneCopyright © 1995–2018 Webtide. All rights reserved.