org.eclipse.jetty.webapp
public class FragmentConfiguration extends AbstractConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FRAGMENT_RESOURCES |
Constructor and Description |
---|
FragmentConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
configure(WebAppContext context)
Configure WebApp.
|
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, 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
public void configure(WebAppContext context) throws java.lang.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 configurejava.lang.Exception
public void postConfigure(WebAppContext context) throws java.lang.Exception
Configuration
postConfigure
in interface Configuration
postConfigure
in class AbstractConfiguration
context
- The context to configurejava.lang.Exception
public void findWebFragments(WebAppContext context, MetaData metaData) throws java.lang.Exception
java.lang.Exception
Copyright © 2016. All Rights Reserved.