接口 Scanner
-
- 所有已知实现类:
AbstractScannerImpl,DisabledScanner,StandardScanner
public interface ScannerDefines 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
- 作者:
- Emmanuel Bernard, Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ScanResultscan(ScanEnvironment environment, ScanOptions options, ScanParameters params)Perform the scanning against the described environment using the defined options, and return the scan results.
-
-
-
方法详细资料
-
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.- 参数:
environment- The scan environment.options- The options to control the scanning.params- The parameters for scanning
-
-