Class StandardScanOptions

java.lang.Object
org.hibernate.boot.archive.scan.internal.StandardScanOptions
All Implemented Interfaces:
ScanOptions

public class StandardScanOptions extends Object implements ScanOptions
  • 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 interface ScanOptions
      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 interface ScanOptions
      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 interface ScanOptions
      Returns:
      Whether detection of Mapping files is allowed.