Interface JarFileEntryUrlAdjuster

  • All Known Implementing Classes:

    public interface JarFileEntryUrlAdjuster
    Optional contract for ArchiveDescriptorFactory implementations to implement to be able to adjust <jar-file/> URL's defined in persistence.xml files. The intent is to account for relative URLs in a protocol specific way according to the protocol(s) handled by the ArchiveDescriptorFactory.
    • Method Detail

      • adjustJarFileEntryUrl

        URL adjustJarFileEntryUrl​(URL url,
                                  URL rootUrl)
        Adjust the given URL, if needed.
        url - The url to adjust
        rootUrl - The root URL, for resolving relative URLs
        The adjusted url.