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_PATTERNATTR| 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, unpackdestroypublic 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 ConfigurationpreConfigure in class WebInfConfigurationcontext - The context to configureExceptionWebInfConfiguration.preConfigure(org.eclipse.jetty.webapp.WebAppContext)public void postConfigure(WebAppContext context) throws Exception
ConfigurationpostConfigure in interface ConfigurationpostConfigure in class AbstractConfigurationcontext - The context to configureExceptionprotected List<Resource> findJars(WebAppContext context) throws Exception
findJars in class WebInfConfigurationExceptionWebInfConfiguration.findJars(org.eclipse.jetty.webapp.WebAppContext)public void configure(WebAppContext context) throws Exception
configure in interface Configurationconfigure in class WebInfConfigurationcontext - The context to configureExceptionWebInfConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)Copyright © 1995-2015 Webtide. All Rights Reserved.