Class VirtualFileSystemArchiveDescriptor
java.lang.Object
org.wildfly.persistence.jipijapa.hibernate7.VirtualFileSystemArchiveDescriptor
- All Implemented Interfaces:
org.hibernate.boot.archive.spi.ArchiveDescriptor
public class VirtualFileSystemArchiveDescriptor
extends Object
implements org.hibernate.boot.archive.spi.ArchiveDescriptor
Representation of an archive in the JBoss VirtualFileSystem API in terms of how to walk entries.
- Author:
- Steve Ebersole
-
Constructor Summary
ConstructorsConstructorDescriptionVirtualFileSystemArchiveDescriptor(org.jboss.vfs.VirtualFile archiveRoot, String entryBase) -
Method Summary
Modifier and TypeMethodDescriptionorg.hibernate.boot.archive.spi.ArchiveEntryExample call from org.hibernate.boot.archive.scan.internal.DisabledScanner that would be used to look up orm.xml in persistence unit root (same path as persistence.xml).org.jboss.vfs.VirtualFilegetRoot()voidvisitArchive(org.hibernate.boot.archive.spi.ArchiveContext archiveContext)
-
Constructor Details
-
VirtualFileSystemArchiveDescriptor
-
-
Method Details
-
getRoot
public org.jboss.vfs.VirtualFile getRoot() -
visitArchive
public void visitArchive(org.hibernate.boot.archive.spi.ArchiveContext archiveContext) - Specified by:
visitArchivein interfaceorg.hibernate.boot.archive.spi.ArchiveDescriptor
-
findEntry
Example call from org.hibernate.boot.archive.scan.internal.DisabledScanner that would be used to look up orm.xml in persistence unit root (same path as persistence.xml). Example usage: final ArchiveEntry entry = archiveDescriptor.findEntry( "META-INF/orm.xml" );- Specified by:
findEntryin interfaceorg.hibernate.boot.archive.spi.ArchiveDescriptor- Parameters:
path- is expected to be META-INF/orm.xml- Returns:
-