-
Notifications
You must be signed in to change notification settings - Fork 82
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add utility to derive the BREE of a resource from its EE requirements
In general the strategy is to consider all osgi.ee requirements of a resource and parse their filter. For the case of a simple filter like '(&(osgi.ee=JavaSE)(version=17)', probably the majority of cases, a fast-path is provided where the filter is just looked up in a map. Otherwise each registered execution-environment is matched against the filter and the list of matching EEs is returned. The new method is intended to support the migration from the Equinox resolver to the OSGi Resources/Wiring API.
- Loading branch information
1 parent
1ccf4df
commit 1b1b92a
Showing
2 changed files
with
140 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters