Class AbstractScannerImpl.ArchiveContextImpl

java.lang.Object
org.hibernate.boot.archive.scan.spi.AbstractScannerImpl.ArchiveContextImpl
All Implemented Interfaces:
ArchiveContext
Enclosing class:
AbstractScannerImpl

public static class AbstractScannerImpl.ArchiveContextImpl extends Object implements ArchiveContext
  • Constructor Details

    • ArchiveContextImpl

      public ArchiveContextImpl(boolean isRootUrl, ScanResultCollector scanResultCollector)
  • Method Details

    • isRootUrl

      public boolean isRootUrl()
      Description copied from interface: ArchiveContext
      Is the archive described (and being visited) the root url for the persistence-unit?
      Specified by:
      isRootUrl in interface ArchiveContext
      Returns:
      true if it is the root url
    • obtainArchiveEntryHandler

      public ArchiveEntryHandler obtainArchiveEntryHandler(ArchiveEntry entry)
      Description copied from interface: ArchiveContext
      Get the handler for the given entry, which generally is indicated by the entry type (a .class file, a mapping file, etc).
      Specified by:
      obtainArchiveEntryHandler in interface ArchiveContext
      Parameters:
      entry - The archive entry
      Returns:
      The appropriate handler for the entry