Package org.apache.catalina.util
Class Extension
java.lang.Object
org.apache.catalina.util.Extension
Utility class that represents either an available "Optional Package"
 (formerly known as "Standard Extension") as described in the manifest
 of a JAR file, or the requirement for such an optional package.  It is
 used to support the requirements of the Servlet Specification, version
 2.3, related to providing shared extensions to all webapps.
 
In addition, static utility methods are available to scan a manifest and return an array of either available or required optional modules documented in that manifest.
 For more information about optional packages, see the document
 Optional Package Versioning in the documentation bundle for your
 Java2 Standard Edition package, in file
 guide/extensions/versioning.html.
- Author:
- Craig McClanahan, Justyna Horwat, Greg Murray
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanisCompatibleWith(Extension required) Returntrueif the specifiedExtension(which represents an optional package required by this application) is satisfied by thisExtension(which represents an optional package that is already installed.booleanvoidsetExtensionName(String extensionName) voidsetFulfilled(boolean fulfilled) voidsetImplementationURL(String implementationURL) voidsetImplementationVendor(String implementationVendor) voidsetImplementationVendorId(String implementationVendorId) voidsetImplementationVersion(String implementationVersion) voidsetSpecificationVendor(String specificationVendor) voidsetSpecificationVersion(String specificationVersion) toString()
- 
Constructor Details- 
Extensionpublic Extension()
 
- 
- 
Method Details- 
getExtensionName
- 
setExtensionName
- 
getImplementationURL
- 
setImplementationURL
- 
getImplementationVendor
- 
setImplementationVendor
- 
getImplementationVendorId
- 
setImplementationVendorId
- 
getImplementationVersion
- 
setImplementationVersion
- 
getSpecificationVendor
- 
setSpecificationVendor
- 
getSpecificationVersion
- 
setSpecificationVersion
- 
setFulfilledpublic void setFulfilled(boolean fulfilled) 
- 
isFulfilledpublic boolean isFulfilled()
- 
isCompatibleWithReturntrueif the specifiedExtension(which represents an optional package required by this application) is satisfied by thisExtension(which represents an optional package that is already installed. Otherwise, returnfalse.- Parameters:
- required- Extension of the required optional package
- Returns:
- trueif the extension is satisfied
 
- 
toString
 
-