public class PlusConfiguration extends AbstractConfiguration
Configuration.ClassList
ATTR
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) |
destroy
public void preConfigure(WebAppContext context) throws Exception
Configuration
Typically this step discovers configuration resources
preConfigure
in interface Configuration
preConfigure
in class AbstractConfiguration
context
- The context to configureException
public void cloneConfigure(WebAppContext template, WebAppContext context) throws 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
cloneConfigure
in class AbstractConfiguration
template
- The template contextcontext
- The context to configureException
public 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 Configuration
configure
in class AbstractConfiguration
context
- The context to configureException
public void postConfigure(WebAppContext context) throws Exception
Configuration
postConfigure
in interface Configuration
postConfigure
in class AbstractConfiguration
context
- The context to configureException
public void deconfigure(WebAppContext context) throws Exception
Configuration
deconfigure
in interface Configuration
deconfigure
in class AbstractConfiguration
context
- The context to configureException
public void bindUserTransaction(WebAppContext context) throws Exception
Exception
protected void lockCompEnv(WebAppContext wac) throws Exception
Exception
protected void unlockCompEnv(WebAppContext wac) throws Exception
Exception
Copyright © 1995-2015 Webtide. All Rights Reserved.