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 booleancanDetectHibernateMappingFiles()Is detection of Hibernate Mapping files allowed?booleancanDetectUnlistedClassesInNonRoot()Is detection of managed classes from non-root urls allowed? In strict JPA sense, this would always be allowed.booleancanDetectUnlistedClassesInRoot()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:ScanOptionsIs detection of managed classes from root url allowed? In strict JPA sense, this would be controlled by the<exclude-unlisted-classes/>element.- Specified by:
canDetectUnlistedClassesInRootin interfaceScanOptions- Returns:
- Whether detection of classes from root url is allowed
-
canDetectUnlistedClassesInNonRoot
public boolean canDetectUnlistedClassesInNonRoot()
Description copied from interface:ScanOptionsIs detection of managed classes from non-root urls allowed? In strict JPA sense, this would always be allowed.- Specified by:
canDetectUnlistedClassesInNonRootin interfaceScanOptions- Returns:
- Whether detection of classes from non-root urls is allowed
-
canDetectHibernateMappingFiles
public boolean canDetectHibernateMappingFiles()
Description copied from interface:ScanOptionsIs detection of Hibernate Mapping files allowed?- Specified by:
canDetectHibernateMappingFilesin interfaceScanOptions- Returns:
- Whether detection of Mapping files is allowed.
-
-