public class OSGiWebInfConfiguration extends WebInfConfiguration
Configuration.ClassList
Modifier and Type | Field and Description |
---|---|
static String |
CONTAINER_BUNDLE_PATTERN
Regex of symbolic names of bundles that should be considered to be on the container classpath
|
static String |
FRAGMENT_AND_REQUIRED_BUNDLES |
static String |
FRAGMENT_AND_REQUIRED_RESOURCES |
static String |
SYS_PROP_TLD_BUNDLES
Comma separated list of symbolic names of bundles that contain tlds that should be considered
as on the container classpath
|
_preUnpackBaseResource, CONTAINER_JAR_PATTERN, RESOURCE_DIRS, TEMPDIR_CONFIGURED, WEBINF_JAR_PATTERN
ATTR
Constructor and Description |
---|
OSGiWebInfConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
configure(WebAppContext context)
Allow fragments to supply some resources that are added to the baseResource of the webapp.
|
protected List<Resource> |
findJars(WebAppContext context)
Consider the fragment bundles associated with the bundle of the webapp being deployed.
|
void |
postConfigure(WebAppContext context)
Clear down after configuration.
|
void |
preConfigure(WebAppContext context)
Check to see if there have been any bundle symbolic names added of bundles that should be
regarded as being on the container classpath, and scanned for fragments, tlds etc etc.
|
cloneConfigure, configureTempDirectory, deconfigure, findClassDirs, findExtraClasspathDirs, findExtraClasspathJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, makeTempDirectory, resolveTempDirectory, unpack
destroy
public static final String SYS_PROP_TLD_BUNDLES
public static final String CONTAINER_BUNDLE_PATTERN
public static final String FRAGMENT_AND_REQUIRED_BUNDLES
public static final String FRAGMENT_AND_REQUIRED_RESOURCES
public void preConfigure(WebAppContext context) throws Exception
preConfigure
in interface Configuration
preConfigure
in class WebInfConfiguration
context
- The context to configureException
WebInfConfiguration.preConfigure(org.eclipse.jetty.webapp.WebAppContext)
public void postConfigure(WebAppContext context) throws Exception
Configuration
postConfigure
in interface Configuration
postConfigure
in class AbstractConfiguration
context
- The context to configureException
protected List<Resource> findJars(WebAppContext context) throws Exception
findJars
in class WebInfConfiguration
Exception
WebInfConfiguration.findJars(org.eclipse.jetty.webapp.WebAppContext)
public void configure(WebAppContext context) throws Exception
configure
in interface Configuration
configure
in class WebInfConfiguration
context
- The context to configureException
WebInfConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)
Copyright © 1995-2015 Webtide. All Rights Reserved.