Top Description Methods
org.hibernate.boot.archive.scan.spi

public Interface Scanner

Known Direct Implementers
org.hibernate.boot.archive.scan.internal.DisabledScanner, org.hibernate.boot.archive.scan.spi.AbstractScannerImpl

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:

If a ArchiveDescriptorFactory is specified in the configuration, but the Scanner to be used does not accept a ArchiveDescriptorFactory an exception will be thrown.

Authors
Emmanuel Bernard, Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public ScanResult
scan(ScanEnvironment
The scan environment.
environment
,
ScanOptions
The options to control the scanning.
options
,
ScanParameters
The parameters for scanning
params
)

Perform the scanning against the described environment using the defined options, and return the scan results.

Method Detail

scanback to summary
public 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:ScanEnvironment

The scan environment.

options:ScanOptions

The options to control the scanning.

params:ScanParameters

The parameters for scanning