Class AbstractScannerImpl

java.lang.Object
org.hibernate.boot.archive.scan.spi.AbstractScannerImpl
All Implemented Interfaces:
Scanner
Direct Known Subclasses:
StandardScanner

public abstract class AbstractScannerImpl extends Object implements Scanner
Author:
Steve Ebersole
  • Constructor Details

  • Method Details

    • scan

      public ScanResult scan(ScanEnvironment environment, ScanOptions options, ScanParameters parameters)
      Description copied from interface: Scanner
      Perform the scanning against the described environment using the defined options, and return the scan results.
      Specified by:
      scan in interface Scanner
      Parameters:
      environment - The scan environment.
      options - The options to control the scanning.
      parameters - The parameters for scanning
    • resolveNonRootUrl

      protected URL resolveNonRootUrl(URL url)
      Handle <jar-file/> references from a persistence.xml file. JPA allows for to be specific
      Returns:
      The resolved non-root URL
    • validateReuse

      protected void validateReuse(AbstractScannerImpl.ArchiveDescriptorInfo descriptor, boolean root)