Class JarInputStreamBasedArchiveDescriptor
- java.lang.Object
-
- org.hibernate.boot.archive.spi.AbstractArchiveDescriptor
-
- org.hibernate.boot.archive.internal.JarInputStreamBasedArchiveDescriptor
-
- All Implemented Interfaces:
ArchiveDescriptor
public class JarInputStreamBasedArchiveDescriptor extends AbstractArchiveDescriptor
AnArchiveDescriptor
that works on archives accessible through aJarInputStream
.- Implementation Note:
- This is less efficient implementation than
JarFileBasedArchiveDescriptor
.
-
-
Constructor Summary
Constructors Constructor Description JarInputStreamBasedArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL url, String entry)
Constructs a JarInputStreamBasedArchiveDescriptor
-
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
-
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 Detail
-
visitArchive
public void visitArchive(ArchiveContext context)
Description copied from interface:ArchiveDescriptor
Perform visitation using the given context- Parameters:
context
- The visitation context
-
-