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
AnArchiveDescriptor
implementation leveraging theJarFile
API for processing.
-
-
Constructor Summary
Constructors Constructor Description JarFileBasedArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entry)
Constructs a JarFileBasedArchiveDescriptor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
visitArchive(ArchiveContext context)
Perform visitation using the given context-
Methods inherited from class org.hibernate.boot.archive.spi.AbstractArchiveDescriptor
buildByteBasedInputStreamAccess, extractName, extractRelativeName, getArchiveDescriptorFactory, getArchiveUrl, getEntryBasePrefix, normalizePathName
-
-
-
-
Constructor Detail
-
JarFileBasedArchiveDescriptor
public JarFileBasedArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entry)
Constructs a JarFileBasedArchiveDescriptor- Parameters:
archiveDescriptorFactory
- The factory creating thisarchiveUrl
- The url to the JAR fileentry
- The prefix for entries within the JAR url
-
-
Method Detail
-
visitArchive
public void visitArchive(ArchiveContext context)
Description copied from interface:ArchiveDescriptor
Perform visitation using the given context- Parameters:
context
- The visitation context
-
-