public class FragmentConfiguration extends AbstractConfiguration
Process web-fragments in jars
Configuration.ClassList| Modifier and Type | Field and Description |
|---|---|
static String |
FRAGMENT_RESOURCES |
ATTR| Constructor and Description |
|---|
FragmentConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
void |
findWebFragments(WebAppContext context,
MetaData metaData)
Look for any web-fragment.xml fragments in META-INF of jars in WEB-INF/lib
|
void |
postConfigure(WebAppContext context)
Clear down after configuration.
|
void |
preConfigure(WebAppContext context)
Set up for configuration.
|
cloneConfigure, configure, deconfigure, destroypublic static final String FRAGMENT_RESOURCES
public void preConfigure(WebAppContext context) throws Exception
ConfigurationTypically this step discovers configuration resources
preConfigure in interface ConfigurationpreConfigure in class AbstractConfigurationcontext - The context to configureException - if unable to pre configurepublic void postConfigure(WebAppContext context) throws Exception
ConfigurationpostConfigure in interface ConfigurationpostConfigure in class AbstractConfigurationcontext - The context to configureException - if unable to post configurepublic void findWebFragments(WebAppContext context, MetaData metaData) throws Exception
context - the web app context to look inmetaData - the metadata to populate with fragmentsException - if unable to find web fragmentsCopyright © 1995-2016 Webtide. All Rights Reserved.