Extension

Utility type 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.

Note that this type works with extensions as defined by the "Optional Package" specification. 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 or the online Package Versioning documentation.

Attributes

The extension type supports the following attributes:

Attribute Description Required
extensionName The name of extension yes
specificationVersion The version of extension specification (Must be in dewey decimal aka dotted decimal notation. 3.2.4) no
specificationVendor The specification vendor no
implementationVersion The version of extension implementation (Must be in dewey decimal aka dotted decimal notation. 3.2.4) no
implementationVendor The implementation vendor no
implementationVendorId The implementation vendor ID no
implementationURL The url from which to retrieve extension. no

Examples

<extension id="e1"
    extensionName="MyExtensions"
    specificationVersion="1.0"
    specificationVendor="Peter Donald"
    implementationVendorID="vv"
    implementationVendor="Apache"
    implementationVersion="2.0"
    implementationURL="http://somewhere.com/myExt.jar"/>

Fully specific extension object.

<extension id="e1"
    extensionName="MyExtensions"
    specificationVersion="1.0"
    specificationVendor="Peter Donald"/>

Extension object that just species the specification details.