Interface JarFileEntryUrlAdjuster

  • All Known Implementing Classes:
    org.hibernate.boot.archive.internal.StandardArchiveDescriptorFactory, VirtualFileSystemArchiveDescriptorFactory

    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 adjustJarFileEntryUrl​( url,
        Adjust the given URL, if needed.
        url - The url to adjust
        rootUrl - The root URL, for resolving relative URLs
        The adjusted url.