Class StandardScanOptions
- java.lang.Object
-
- org.hibernate.boot.archive.scan.internal.StandardScanOptions
-
- All Implemented Interfaces:
ScanOptions
public class StandardScanOptions extends Object implements ScanOptions
-
-
Constructor Summary
Constructors Constructor Description StandardScanOptions()
StandardScanOptions(String explicitDetectionSetting, boolean persistenceUnitExcludeUnlistedClassesValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canDetectHibernateMappingFiles()
Is detection of Hibernate Mapping files allowed?boolean
canDetectUnlistedClassesInNonRoot()
Is detection of managed classes from non-root urls allowed? In strict JPA sense, this would always be allowed.boolean
canDetectUnlistedClassesInRoot()
Is detection of managed classes from root url allowed? In strict JPA sense, this would be controlled by the<exclude-unlisted-classes/>
element.
-
-
-
Constructor Detail
-
StandardScanOptions
public StandardScanOptions()
-
StandardScanOptions
public StandardScanOptions(String explicitDetectionSetting, boolean persistenceUnitExcludeUnlistedClassesValue)
-
-
Method Detail
-
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.
-
-