Class JarInputStreamBasedArchiveDescriptor
java.lang.Object
org.hibernate.boot.archive.spi.AbstractArchiveDescriptor
org.hibernate.boot.archive.internal.JarInputStreamBasedArchiveDescriptor
- All Implemented Interfaces:
ArchiveDescriptor
An
ArchiveDescriptor
that works on archives accessible through a JarInputStream
.- Implementation Note:
- This is less efficient implementation than
JarFileBasedArchiveDescriptor
.
-
Constructor Summary
ConstructorsConstructorDescriptionJarInputStreamBasedArchiveDescriptor
(ArchiveDescriptorFactory archiveDescriptorFactory, URL url, String entry) Constructs a JarInputStreamBasedArchiveDescriptor -
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
-
JarInputStreamBasedArchiveDescriptor
public JarInputStreamBasedArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL url, String entry) Constructs a JarInputStreamBasedArchiveDescriptor- Parameters:
archiveDescriptorFactory
- The factory creating thisurl
- 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
-