public class AbstractConfiguration extends Object implements Configuration
| Constructor and Description |
|---|
AbstractConfiguration() |
| Modifier and Type | Method and 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 Exception
ConfigurationTypically this step discovers configuration resources
preConfigure in interface Configurationcontext - The context to configureExceptionpublic void configure(WebAppContext context) throws 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 configureExceptionpublic void postConfigure(WebAppContext context) throws Exception
ConfigurationpostConfigure in interface Configurationcontext - The context to configureExceptionpublic void deconfigure(WebAppContext context) throws Exception
Configurationdeconfigure in interface Configurationcontext - The context to configureExceptionpublic void destroy(WebAppContext context) throws Exception
Configurationdestroy in interface Configurationcontext - The context to configureExceptionpublic void cloneConfigure(WebAppContext template, WebAppContext context) throws 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 configureExceptionCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.