Class JarFileBasedArchiveDescriptor
java.lang.Object
org.hibernate.boot.archive.spi.AbstractArchiveDescriptor
org.hibernate.boot.archive.internal.JarFileBasedArchiveDescriptor
- All Implemented Interfaces:
ArchiveDescriptor
An
ArchiveDescriptor
implementation leveraging the JarFile
API for processing.-
Constructor Summary
ConstructorsConstructorDescriptionJarFileBasedArchiveDescriptor
(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entry) Constructs a JarFileBasedArchiveDescriptor -
Method Summary
Modifier and TypeMethodDescriptionvoid
visitArchive
(ArchiveContext context) Perform visitation using the given contextMethods inherited from class org.hibernate.boot.archive.spi.AbstractArchiveDescriptor
buildByteBasedInputStreamAccess, extractName, extractRelativeName, getArchiveDescriptorFactory, getArchiveUrl, getEntryBasePrefix, normalizePathName
-
Constructor Details
-
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 Details
-
visitArchive
Description copied from interface:ArchiveDescriptor
Perform visitation using the given context- Parameters:
context
- The visitation context
-