接口 JarFileEntryUrlAdjuster

  • 所有已知实现类:
    StandardArchiveDescriptorFactory

    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.
    作者:
    Steve Ebersole
    • 方法详细资料

      • 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.