public final class ExtensionValidator
Ensures that all extension dependencies are resolved for a WEB application
are met. This class builds a master list of extensions available to an
application and then validates those extensions.
for a detailed explanation of the extension mechanism in Java.
Runtime validation of a Web Application.
This method uses JNDI to look up the resources located under a
DirContext. It locates Web Application MANIFEST.MF
file in the /META-INF/ directory of the application and all
MANIFEST.MF files in each JAR file located in the WEB-INF/lib
directory and creates an ArrayList of
ManifestResource objects. These objects are then passed
to the validateManifestResources method for validation.
dirContext - The JNDI root of the Web Application
context - The context from which the Logger and path to the