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

      • VirtualFileSystemArchiveDescriptorFactory

        public VirtualFileSystemArchiveDescriptorFactory()
    • Method Detail

      • buildArchiveDescriptor

        public ArchiveDescriptor buildArchiveDescriptor​(URL url,
                                                        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