Configuration
public class FragmentConfiguration extends AbstractConfiguration
Process web-fragments in jars
Configuration.ClassList
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
FRAGMENT_RESOURCES |
ATTR
Constructor | Description |
---|---|
FragmentConfiguration() |
Modifier and Type | Method | Description |
---|---|---|
void |
addWebFragments(WebAppContext context,
MetaData metaData) |
Add in fragment descriptors that have already been discovered by MetaInfConfiguration
|
void |
findWebFragments(WebAppContext context,
MetaData metaData) |
Deprecated.
|
void |
postConfigure(WebAppContext context) |
Clear down after configuration.
|
void |
preConfigure(WebAppContext context) |
Set up for configuration.
|
cloneConfigure, configure, deconfigure, destroy
public static final java.lang.String FRAGMENT_RESOURCES
public void preConfigure(WebAppContext context) throws java.lang.Exception
Configuration
Typically this step discovers configuration resources
preConfigure
in interface Configuration
preConfigure
in class AbstractConfiguration
context
- The context to configurejava.lang.Exception
- if unable to pre configurepublic void postConfigure(WebAppContext context) throws java.lang.Exception
Configuration
postConfigure
in interface Configuration
postConfigure
in class AbstractConfiguration
context
- The context to configurejava.lang.Exception
- if unable to post configurepublic void findWebFragments(WebAppContext context, MetaData metaData) throws java.lang.Exception
context
- the web app context to look inmetaData
- the metadata to populate with fragmentsjava.lang.Exception
- if unable to find web fragmentspublic void addWebFragments(WebAppContext context, MetaData metaData) throws java.lang.Exception
context
- the web app context to look inmetaData
- the metadata to populate with fragmentsjava.lang.Exception
- if unable to find web fragmentsCopyright © 1995–2018 Webtide. All rights reserved.