public interface Configuration
Modifier and Type | Interface and Description |
---|---|
static class |
Configuration.ClassList |
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.
|
static final String ATTR
void preConfigure(WebAppContext context) throws Exception
Typically this step discovers configuration resources
context
- The context to configureException
void configure(WebAppContext context) throws Exception
Typically this step applies the discovered configuration resources to
either the WebAppContext
or the associated MetaData
.
context
- The context to configureException
void postConfigure(WebAppContext context) throws Exception
context
- The context to configureException
void deconfigure(WebAppContext context) throws Exception
context
- The context to configureException
void destroy(WebAppContext context) throws Exception
context
- The context to configureException
void cloneConfigure(WebAppContext template, WebAppContext context) throws 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 configureException
Copyright © 1995-2015 Webtide. All Rights Reserved.