|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface used to store a collection of "Optional Packages" (formerly known as "Standard Extensions"). It is assumed that each "Optional Package" is represented by a single file on the file system.
This repository is responsible for storing the local repository of packages. The method used to locate packages on local filesystem and install packages is not specified.
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
Field Summary | |
static String |
ROLE
|
Method Summary | |
OptionalPackage[] |
getOptionalPackages(Extension extension)
Return all the OptionalPackage s that satisfy specified
Extension . |
Field Detail |
public static final String ROLE
Method Detail |
public OptionalPackage[] getOptionalPackages(Extension extension)
OptionalPackage
s that satisfy specified
Extension
. The array must be sorted with the packages that
"best" satisfy the Extension earlier in the array. Note that the
definition of "best" is implementation dependent.
extension
- Description of the extension that needs to be provided by
optional packages
OptionalPackage
,
Extension
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |