Add a new factory method so that a CatalogResolver can be created with a resolve property on top of the Catalog object.
------------- Commit messages: - 8316996: Catalog API Enhancement: add a factory method Changes: https://git.openjdk.org/jdk/pull/16045/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=16045&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8316996 Stats: 219 lines in 6 files changed: 210 ins; 1 del; 8 mod Patch: https://git.openjdk.org/jdk/pull/16045.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/16045/head:pull/16045 PR: https://git.openjdk.org/jdk/pull/16045