Top Description Fields Constructors Methods
org.eclipse.jetty.ee10.webapp

public Class FragmentConfiguration

extends AbstractConfiguration
Class Inheritance
Imports
java.util.Map, org.eclipse.jetty.util.resource.Resource

FragmentConfiguration

Process web-fragments in jars

Field Summary

Modifier and TypeField and Description
public static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public void
addWebFragments(final WebAppContext
the web app context to look in
context
,
final MetaData
the metadata to populate with fragments
metaData
)

Add in fragment descriptors that have already been discovered by MetaInfConfiguration

public void
public void
Inherited from org.eclipse.jetty.ee10.webapp.AbstractConfiguration:
abortconfiguredeconfiguredestroygetDependenciesgetDependentsgetServerClassesgetSystemClassesisEnabledByDefault

Field Detail

FRAGMENT_RESOURCESback to summary
public static final String FRAGMENT_RESOURCES

Constructor Detail

FragmentConfigurationback to summary
public FragmentConfiguration()

Method Detail

addWebFragmentsback to summary
public void addWebFragments(final WebAppContext context, final MetaData metaData) throws Exception

Add in fragment descriptors that have already been discovered by MetaInfConfiguration

Parameters
context:WebAppContext

the web app context to look in

metaData:MetaData

the metadata to populate with fragments

Exceptions
Exception:
if unable to find web fragments
postConfigureback to summary
public void postConfigure(WebAppContext context) throws Exception

Overrides org.eclipse.jetty.ee10.webapp.AbstractConfiguration.postConfigure.

Implements org.eclipse.jetty.ee10.webapp.Configuration.postConfigure.

Doc from org.eclipse.jetty.ee10.webapp.Configuration.postConfigure.

Clear down after configuration.

Parameters
context:WebAppContext

The context to configure

Annotations
@Override
Exceptions
Exception:
if unable to post configure
preConfigureback to summary
public void preConfigure(WebAppContext context) throws Exception

Overrides org.eclipse.jetty.ee10.webapp.AbstractConfiguration.preConfigure.

Implements org.eclipse.jetty.ee10.webapp.Configuration.preConfigure.

Doc from org.eclipse.jetty.ee10.webapp.Configuration.preConfigure.

Set 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.

Parameters
context:WebAppContext

The context to configure

Annotations
@Override
Exceptions
Exception:
if unable to pre configure