public static class AbstractScannerImpl.ArchiveContextImpl extends Object implements ArchiveContext
Constructor and Description |
---|
ArchiveContextImpl(boolean isRootUrl,
org.hibernate.boot.archive.scan.internal.ScanResultCollector scanResultCollector) |
Modifier and Type | Method and Description |
---|---|
boolean |
isRootUrl()
Is the archive described (and being visited) the root url for the persistence-unit?
|
ArchiveEntryHandler |
obtainArchiveEntryHandler(ArchiveEntry entry)
Get the handler for the given entry, which generally is indicated by the entry type (a
.class file, a
mapping file, etc). |
public ArchiveContextImpl(boolean isRootUrl, org.hibernate.boot.archive.scan.internal.ScanResultCollector scanResultCollector)
public boolean isRootUrl()
ArchiveContext
isRootUrl
in interface ArchiveContext
true
if it is the root urlpublic ArchiveEntryHandler obtainArchiveEntryHandler(ArchiveEntry entry)
ArchiveContext
.class
file, a
mapping file, etc).obtainArchiveEntryHandler
in interface ArchiveContext
entry
- The archive entryCopyright © 2001-2021 Red Hat, Inc. All Rights Reserved.