public class MetaInfConfiguration extends AbstractConfiguration
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
METAINF_FRAGMENTS |
static java.lang.String |
METAINF_RESOURCES |
static java.lang.String |
METAINF_TLDS |
Constructor and Description |
---|
MetaInfConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addResource(WebAppContext context,
java.lang.String attribute,
Resource jar) |
void |
configure(WebAppContext context)
Configure WebApp.
|
void |
deconfigure(WebAppContext context)
DeConfigure WebApp.
|
void |
postConfigure(WebAppContext context)
Clear down after configuration.
|
void |
preConfigure(WebAppContext context)
Set up for configuration.
|
protected void |
processEntry(WebAppContext context,
java.net.URI jarUri,
java.util.jar.JarEntry entry) |
cloneConfigure, destroy
public static final java.lang.String METAINF_TLDS
public static final java.lang.String METAINF_FRAGMENTS
public static final java.lang.String METAINF_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 deconfigure(WebAppContext context) throws java.lang.Exception
Configuration
deconfigure
in interface Configuration
deconfigure
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 addResource(WebAppContext context, java.lang.String attribute, Resource jar)
protected void processEntry(WebAppContext context, java.net.URI jarUri, java.util.jar.JarEntry entry)
Copyright © 2012. All Rights Reserved.