Class JarFileBasedArchiveDescriptor

java.lang.Object
org.hibernate.boot.archive.spi.AbstractArchiveDescriptor
org.hibernate.boot.archive.internal.JarFileBasedArchiveDescriptor
All Implemented Interfaces:
ArchiveDescriptor

public class JarFileBasedArchiveDescriptor extends AbstractArchiveDescriptor
An ArchiveDescriptor implementation leveraging the JarFile API for processing.
  • Constructor Details

    • JarFileBasedArchiveDescriptor

      public JarFileBasedArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entry)
      Constructs a JarFileBasedArchiveDescriptor
      Parameters:
      archiveDescriptorFactory - The factory creating this
      archiveUrl - The url to the JAR file
      entry - The prefix for entries within the JAR url
  • Method Details

    • visitArchive

      public void visitArchive(ArchiveContext context)
      Description copied from interface: ArchiveDescriptor
      Perform visitation using the given context
      Parameters:
      context - The visitation context