public class OSGiWebInfConfiguration extends WebInfConfiguration
WebInfConfiguration.ContainerPathNameMatcher, WebInfConfiguration.WebAppPathNameMatcher
Configuration.ClassList
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
CONTAINER_BUNDLE_PATTERN
Regex of symbolic names of bundles that should be considered to be on the container classpath
|
static java.lang.String |
FRAGMENT_AND_REQUIRED_BUNDLES |
static java.lang.String |
FRAGMENT_AND_REQUIRED_RESOURCES |
static java.lang.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 java.util.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, findAndFilterContainerPaths, findAndFilterWebAppPaths, findClassDirs, findExtraClasspathDirs, findExtraClasspathJars, findWebInfClassesDir, findWebInfLibJars, getCanonicalNameForWebAppTmpDir, makeTempDirectory, resolveTempDirectory, unpack
destroy
public static final java.lang.String SYS_PROP_TLD_BUNDLES
public static final java.lang.String CONTAINER_BUNDLE_PATTERN
public static final java.lang.String FRAGMENT_AND_REQUIRED_BUNDLES
public static final java.lang.String FRAGMENT_AND_REQUIRED_RESOURCES
public void preConfigure(WebAppContext context) throws java.lang.Exception
preConfigure
in interface Configuration
preConfigure
in class WebInfConfiguration
context
- The context to configurejava.lang.Exception
- if unable to pre configureWebInfConfiguration.preConfigure(org.eclipse.jetty.webapp.WebAppContext)
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
- if unable to post configureprotected java.util.List<Resource> findJars(WebAppContext context) throws java.lang.Exception
findJars
in class WebInfConfiguration
context
- the context to find the jars injava.lang.Exception
- if unable to find the jarsWebInfConfiguration.findJars(org.eclipse.jetty.webapp.WebAppContext)
public void configure(WebAppContext context) throws java.lang.Exception
configure
in interface Configuration
configure
in class WebInfConfiguration
context
- The context to configurejava.lang.Exception
- if unable to configureWebInfConfiguration.configure(org.eclipse.jetty.webapp.WebAppContext)
Copyright © 1995–2023 Webtide. All rights reserved.