Class VirtualFileSystemArchiveDescriptorFactory

  • All Implemented Interfaces:
    ArchiveDescriptorFactory, JarFileEntryUrlAdjuster

    public class VirtualFileSystemArchiveDescriptorFactory
    extends org.hibernate.boot.archive.internal.StandardArchiveDescriptorFactory
    In Hibernate terms, the ArchiveDescriptorFactory contract is used to plug in handling for how to deal with archives in various systems. For JBoss, that means its VirtualFileSystem API.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ArchiveDescriptor buildArchiveDescriptor​(java.net.URL url, java.lang.String entryBase)
      Build a descriptor of the archive indicated by the path relative to the given url
      • Methods inherited from class org.hibernate.boot.archive.internal.StandardArchiveDescriptorFactory

        adjustJarFileEntryUrl, buildArchiveDescriptor, extractLocalFilePath, getJarURLFromURLEntry, getURLFromPath
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VirtualFileSystemArchiveDescriptorFactory

        public VirtualFileSystemArchiveDescriptorFactory()
    • Method Detail

      • buildArchiveDescriptor

        public ArchiveDescriptor buildArchiveDescriptor​(java.net.URL url,
                                                        java.lang.String entryBase)
        Description copied from interface: ArchiveDescriptorFactory
        Build a descriptor of the archive indicated by the path relative to the given url
        Specified by:
        buildArchiveDescriptor in interface ArchiveDescriptorFactory
        Overrides:
        buildArchiveDescriptor in class org.hibernate.boot.archive.internal.StandardArchiveDescriptorFactory
        Parameters:
        url - The url to the archive
        entryBase - The path within the given url that refers to the archive
        Returns:
        The descriptor