Class QuarkusScanner

java.lang.Object
io.quarkus.hibernate.orm.runtime.boot.scan.QuarkusScanner
All Implemented Interfaces:
org.hibernate.boot.archive.scan.spi.Scanner

public class QuarkusScanner extends Object implements org.hibernate.boot.archive.scan.spi.Scanner
A hard coded scanner. This scanner is serialized to bytecode, and used to avoid scanning on Hibernate startup. Technically the scanners are receiving all classes and categorize them as JPA useful or not. In Quarkus's case, we detect the JPA friendly ones and not list the other ones. Emmanuel thinks it's fine as AFAICS, Hibernate ORM filter out the non JPA specific ones.
  • Constructor Details

    • QuarkusScanner

      public QuarkusScanner()
  • Method Details

    • scan

      public org.hibernate.boot.archive.scan.spi.ScanResult scan(org.hibernate.boot.archive.scan.spi.ScanEnvironment scanEnvironment, org.hibernate.boot.archive.scan.spi.ScanOptions scanOptions, org.hibernate.boot.archive.scan.spi.ScanParameters scanParameters)
      Specified by:
      scan in interface org.hibernate.boot.archive.scan.spi.Scanner
    • getPackageDescriptors

      public Set<org.hibernate.boot.archive.scan.spi.PackageDescriptor> getPackageDescriptors()
    • setPackageDescriptors

      public void setPackageDescriptors(Set<org.hibernate.boot.archive.scan.spi.PackageDescriptor> packageDescriptors)
    • getClassDescriptors

      public Set<org.hibernate.boot.archive.scan.spi.ClassDescriptor> getClassDescriptors()
    • setClassDescriptors

      public void setClassDescriptors(Set<org.hibernate.boot.archive.scan.spi.ClassDescriptor> classDescriptors)