public class WARManifestProcessor
extends java.lang.Object
Constants.WEB_BUNDLE_SCHEME,
our registered handler gets a chance to look at the stream and process the
MANIFEST.MF. It adds necessary OSGi metadata as specified in section #5.2.1.2
of RFC #66. It uses the following information during computation:
- WAR manifest entries, i.e., developer supplied data
- Properties supplied via URL query parameters
- Other information present in the WAR, e.g., existence of any jar in
WEB-INF/lib causes that jar to be added as Bundle-ClassPath.
For exact details, refer to the spec.| Constructor and Description |
|---|
WARManifestProcessor() |
| Modifier and Type | Method and Description |
|---|---|
static java.util.jar.Manifest |
processManifest(java.net.URL url,
java.lang.String query)
Reads content of the given URL, uses it to come up with a new Manifest.
|
static java.util.Map<java.lang.String,java.lang.String> |
readQueryParams(java.lang.String query) |
public static java.util.Map<java.lang.String,java.lang.String> readQueryParams(java.lang.String query)
public static java.util.jar.Manifest processManifest(java.net.URL url,
java.lang.String query)
throws java.io.IOException
url - URL which is used to read the original Manifest and other dataquery - extra parameters passed by deployerjava.io.IOException - if IO related error occursCopyright © 2018 GlassFish Community. All Rights Reserved.