Class FragmentConfiguration
java.lang.Object
org.eclipse.jetty.ee9.webapp.AbstractConfiguration
org.eclipse.jetty.ee9.webapp.FragmentConfiguration
- All Implemented Interfaces:
- Configuration
FragmentConfiguration
Process web-fragments in jars
- 
Nested Class SummaryNested classes/interfaces inherited from interface ConfigurationConfiguration.Wrapper, Configuration.WrapperFunction
- 
Field SummaryFieldsFields inherited from interface ConfigurationATTR
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddWebFragments(WebAppContext context, MetaData metaData) Add in fragment descriptors that have already been discovered by MetaInfConfigurationvoidpostConfigure(WebAppContext context) Clear down after configuration.voidpreConfigure(WebAppContext context) Set up for configuration.Methods inherited from class AbstractConfigurationabort, addDependencies, addDependencies, addDependents, addDependents, cloneConfigure, configure, deconfigure, destroy, expose, getDependencies, getDependents, getServerClasses, getSystemClasses, hide, isEnabledByDefault, protect, protectAndExposeMethods inherited from class Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConfigurationisAvailable, replaces
- 
Field Details- 
FRAGMENT_RESOURCES
 
- 
- 
Constructor Details- 
FragmentConfigurationpublic FragmentConfiguration()
 
- 
- 
Method Details- 
preConfigureDescription copied from interface:ConfigurationSet up for configuration.Typically this step discovers configuration resources. Calls to preConfigure may alter the Configurations configured on the WebAppContext, so long as configurations prior to this configuration are not altered. - Specified by:
- preConfigurein interface- Configuration
- Overrides:
- preConfigurein class- AbstractConfiguration
- Parameters:
- context- The context to configure
- Throws:
- Exception- if unable to pre configure
 
- 
postConfigureDescription copied from interface:ConfigurationClear down after configuration.- Specified by:
- postConfigurein interface- Configuration
- Overrides:
- postConfigurein class- AbstractConfiguration
- Parameters:
- context- The context to configure
- Throws:
- Exception- if unable to post configure
 
- 
addWebFragmentsAdd in fragment descriptors that have already been discovered by MetaInfConfiguration- Parameters:
- context- the web app context to look in
- metaData- the metadata to populate with fragments
- Throws:
- Exception- if unable to find web fragments
 
 
-