Class QuarkusScanner
java.lang.Object
io.quarkus.hibernate.orm.runtime.boot.scan.QuarkusScanner
- All Implemented Interfaces:
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.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
static class
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionSet<org.hibernate.boot.archive.scan.spi.ClassDescriptor>
Set<org.hibernate.boot.archive.scan.spi.PackageDescriptor>
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) void
setClassDescriptors
(Set<org.hibernate.boot.archive.scan.spi.ClassDescriptor> classDescriptors) void
setPackageDescriptors
(Set<org.hibernate.boot.archive.scan.spi.PackageDescriptor> packageDescriptors)
-
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 interfaceorg.hibernate.boot.archive.scan.spi.Scanner
-
getPackageDescriptors
-
setPackageDescriptors
public void setPackageDescriptors(Set<org.hibernate.boot.archive.scan.spi.PackageDescriptor> packageDescriptors) -
getClassDescriptors
-
setClassDescriptors
public void setClassDescriptors(Set<org.hibernate.boot.archive.scan.spi.ClassDescriptor> classDescriptors)
-