Class AbstractScannerImpl.ArchiveContextImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      ArchiveContextImpl​(boolean isRootUrl, org.hibernate.boot.archive.scan.internal.ScanResultCollector scanResultCollector)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ArchiveContextImpl

        public ArchiveContextImpl​(boolean isRootUrl,
                                  org.hibernate.boot.archive.scan.internal.ScanResultCollector scanResultCollector)
    • Method Detail

      • 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