Class AbstractScannerImpl.ArchiveContextImpl
java.lang.Object
org.hibernate.boot.archive.scan.spi.AbstractScannerImpl.ArchiveContextImpl
- All Implemented Interfaces:
ArchiveContext
- Enclosing class:
- AbstractScannerImpl
-
Constructor Summary
ConstructorsConstructorDescriptionArchiveContextImpl(boolean isRootUrl, ScanResultCollector scanResultCollector) -
Method Summary
Modifier and TypeMethodDescriptionbooleanIs the archive described (and being visited) the root url for the persistence-unit?Get the handler for the given entry, which generally is indicated by the entry type (a.classfile, a mapping file, etc).
-
Constructor Details
-
ArchiveContextImpl
-
-
Method Details
-
isRootUrl
public boolean isRootUrl()Description copied from interface:ArchiveContextIs the archive described (and being visited) the root url for the persistence-unit?- Specified by:
isRootUrlin interfaceArchiveContext- Returns:
trueif it is the root url
-
obtainArchiveEntryHandler
Description copied from interface:ArchiveContextGet the handler for the given entry, which generally is indicated by the entry type (a.classfile, a mapping file, etc).- Specified by:
obtainArchiveEntryHandlerin interfaceArchiveContext- Parameters:
entry- The archive entry- Returns:
- The appropriate handler for the entry
-