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()
ArchiveContextIs the archive described (and being visited) the root url for the persistence-unit?
isRootUrl in interface ArchiveContexttrue if it is the root urlpublic ArchiveEntryHandler obtainArchiveEntryHandler(ArchiveEntry entry)
ArchiveContextGet the handler for the given entry, which generally is indicated by the entry type (a .class file, a
mapping file, etc).
obtainArchiveEntryHandler in interface ArchiveContextentry - The archive entryCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.