Top Description Fields Constructors Methods
org.hibernate.boot.archive.scan.internal

public Class DisabledScanner

extends Object
implements Scanner
Class Inheritance
All Implemented Interfaces
org.hibernate.boot.archive.scan.spi.Scanner
Imports
java.util.Collections, org.hibernate.boot.archive.scan.spi.ClassDescriptor, .MappingFileDescriptor, .PackageDescriptor, .ScanEnvironment, .ScanOptions, .ScanParameters, .ScanResult, .Scanner

Implementation of Scanner that does nothing. Used for optimizing startup time when metadata scanning is not needed.
Author
Petteri Pitkanen

Field Summary

Modifier and TypeField and Description
private static final ScanResult

Constructor Summary

AccessConstructor and Description
public

Method Summary

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

Implements org.hibernate.boot.archive.scan.spi.Scanner.scan.

Perform the scanning against the described environment using the defined options, and return the scan results.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

emptyScanResultback to summary
private static final ScanResult emptyScanResult

Constructor Detail

DisabledScannerback to summary
public DisabledScanner()

Method Detail

scanback to summary
public ScanResult scan(final ScanEnvironment environment, final ScanOptions options, final ScanParameters parameters)

Implements org.hibernate.boot.archive.scan.spi.Scanner.scan.

Doc from org.hibernate.boot.archive.scan.spi.Scanner.scan.

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.

parameters:ScanParameters

The parameters for scanning

Annotations
@Override