Class StandardScanOptions
java.lang.Object
org.hibernate.boot.archive.scan.internal.StandardScanOptions
- All Implemented Interfaces:
ScanOptions
-
Constructor Summary
ConstructorsConstructorDescriptionStandardScanOptions
(String explicitDetectionSetting, boolean persistenceUnitExcludeUnlistedClassesValue) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Is detection of Hibernate Mapping files allowed?boolean
Is detection of managed classes from non-root urls allowed? In strict JPA sense, this would always be allowed.boolean
Is detection of managed classes from root url allowed? In strict JPA sense, this would be controlled by the<exclude-unlisted-classes/>
element.
-
Constructor Details
-
StandardScanOptions
public StandardScanOptions() -
StandardScanOptions
public StandardScanOptions(String explicitDetectionSetting, boolean persistenceUnitExcludeUnlistedClassesValue)
-
-
Method Details
-
canDetectUnlistedClassesInRoot
public boolean canDetectUnlistedClassesInRoot()Description copied from interface:ScanOptions
Is detection of managed classes from root url allowed? In strict JPA sense, this would be controlled by the<exclude-unlisted-classes/>
element.- Specified by:
canDetectUnlistedClassesInRoot
in interfaceScanOptions
- Returns:
- Whether detection of classes from root url is allowed
-
canDetectUnlistedClassesInNonRoot
public boolean canDetectUnlistedClassesInNonRoot()Description copied from interface:ScanOptions
Is detection of managed classes from non-root urls allowed? In strict JPA sense, this would always be allowed.- Specified by:
canDetectUnlistedClassesInNonRoot
in interfaceScanOptions
- Returns:
- Whether detection of classes from non-root urls is allowed
-
canDetectHibernateMappingFiles
public boolean canDetectHibernateMappingFiles()Description copied from interface:ScanOptions
Is detection of Hibernate Mapping files allowed?- Specified by:
canDetectHibernateMappingFiles
in interfaceScanOptions
- Returns:
- Whether detection of Mapping files is allowed.
-