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 TypeMethodDescriptionbooleanIs detection of Hibernate Mapping files allowed?booleanIs detection of managed classes from non-root urls allowed? In strict JPA sense, this would always be allowed.booleanIs 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: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.
-