public class PlusConfiguration extends AbstractConfiguration
| Constructor and Description |
|---|
PlusConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
bindUserTransaction(WebAppContext context) |
void |
cloneConfigure(WebAppContext template,
WebAppContext context)
Clone configuration instance.
|
void |
configure(WebAppContext context)
Configure WebApp.
|
void |
deconfigure(WebAppContext context)
DeConfigure WebApp.
|
protected void |
lockCompEnv(WebAppContext wac) |
void |
postConfigure(WebAppContext context)
Clear down after configuration.
|
void |
preConfigure(WebAppContext context)
Set up for configuration.
|
protected void |
unlockCompEnv(WebAppContext wac) |
destroypublic void preConfigure(WebAppContext context) throws Exception
ConfigurationTypically this step discovers configuration resources
preConfigure in interface ConfigurationpreConfigure in class AbstractConfigurationcontext - 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 ConfigurationcloneConfigure in class AbstractConfigurationtemplate - The template contextcontext - 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 Configurationconfigure in class AbstractConfigurationcontext - The context to configureExceptionpublic void postConfigure(WebAppContext context) throws Exception
ConfigurationpostConfigure in interface ConfigurationpostConfigure in class AbstractConfigurationcontext - The context to configureExceptionpublic void deconfigure(WebAppContext context) throws Exception
Configurationdeconfigure in interface Configurationdeconfigure in class AbstractConfigurationcontext - The context to configureExceptionpublic void bindUserTransaction(WebAppContext context) throws Exception
Exceptionprotected void lockCompEnv(WebAppContext wac) throws Exception
Exceptionprotected void unlockCompEnv(WebAppContext wac) throws Exception
ExceptionCopyright © 1995-2015 Mort Bay Consulting. All Rights Reserved.