public static class AbstractScannerImpl.ArchiveContextImpl extends Object implements ArchiveContext
Constructor and Description |
---|
ArchiveContextImpl(boolean isRootUrl,
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, 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 © 2017 JBoss by Red Hat. All rights reserved.