Interface Scanner
-
- All Known Implementing Classes:
AbstractScannerImpl
,OsgiScanner
public interface Scanner
Defines the contract for Hibernate to be able to scan for classes, packages and resources inside a persistence unit. Constructors are expected in one of 2 forms:- no-arg
- single arg, of type
ArchiveDescriptorFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ScanResult
scan(ScanEnvironment environment, ScanOptions options, ScanParameters params)
Perform the scanning against the described environment using the defined options, and return the scan results.
-
-
-
Method Detail
-
scan
ScanResult scan(ScanEnvironment environment, ScanOptions options, ScanParameters params)
Perform the scanning against the described environment using the defined options, and return the scan results.- Parameters:
environment
- The scan environment.options
- The options to control the scanning.params
- The parameters for scanning
-
-