Top Description Constructors Methods
org.hibernate.boot.archive.internal

public Class ExplodedArchiveDescriptor

extends AbstractArchiveDescriptor
Class Inheritance
Imports
java.io.File, .IOException, java.net.URISyntaxException, .URL, java.util.Enumeration, java.util.jar.JarFile, java.util.zip.ZipEntry, org.hibernate.boot.archive.spi.AbstractArchiveDescriptor, .ArchiveContext, .ArchiveDescriptorFactory, .ArchiveEntry, .ArchiveException, .InputStreamAccess

An ArchiveDescriptor for exploded (directory) archives.
Author
Steve Ebersole

Constructor Summary

AccessConstructor and Description
public
ExplodedArchiveDescriptor(ArchiveDescriptorFactory
The factory creating this
archiveDescriptorFactory
,
URL
The directory URL
archiveUrl
,
String
the base (within the url) that described the prefix for entries within the archive
entryBasePrefix
)

Constructs an ExplodedArchiveDescriptor

Method Summary

Modifier and TypeMethod and Description
private void
processDirectory(File directory, String path, ArchiveContext context)

private void
private File
public void
visitArchive(ArchiveContext
The visitation context
context
)

Implements org.hibernate.boot.archive.spi.ArchiveDescriptor.visitArchive.

Perform visitation using the given context
Inherited from org.hibernate.boot.archive.spi.AbstractArchiveDescriptor:
buildByteBasedInputStreamAccessextractNameextractRelativeNamegetArchiveDescriptorFactorygetArchiveUrlgetEntryBasePrefixnormalizePathName

Constructor Detail

ExplodedArchiveDescriptorback to summary
public ExplodedArchiveDescriptor(ArchiveDescriptorFactory archiveDescriptorFactory, URL archiveUrl, String entryBasePrefix)

Constructs an ExplodedArchiveDescriptor

Parameters
archiveDescriptorFactory:ArchiveDescriptorFactory

The factory creating this

archiveUrl:URL

The directory URL

entryBasePrefix:String

the base (within the url) that described the prefix for entries within the archive

Method Detail

processDirectoryback to summary
private void processDirectory(File directory, String path, ArchiveContext context)
processZippedRootback to summary
private void processZippedRoot(File rootFile, ArchiveContext context)
resolveRootDirectoryback to summary
private File resolveRootDirectory()
visitArchiveback to summary
public void visitArchive(ArchiveContext context)

Implements org.hibernate.boot.archive.spi.ArchiveDescriptor.visitArchive.

Doc from org.hibernate.boot.archive.spi.ArchiveDescriptor.visitArchive.

Perform visitation using the given context

Parameters
context:ArchiveContext

The visitation context

Annotations
@Override