Interface ScanOptions

All Known Implementing Classes:
StandardScanOptions

public interface ScanOptions
Options for performing scanning
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Deprecated.
    With move to unified schema, this setting is now deprecated and will be removed once support for reading hbm.xml files is fully removed.
    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.
  • Method Details

    • canDetectUnlistedClassesInRoot

      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.
      Returns:
      Whether detection of classes from root url is allowed
    • canDetectUnlistedClassesInNonRoot

      boolean canDetectUnlistedClassesInNonRoot()
      Is detection of managed classes from non-root urls allowed? In strict JPA sense, this would always be allowed.
      Returns:
      Whether detection of classes from non-root urls is allowed
    • canDetectHibernateMappingFiles

      @Deprecated(since="5") boolean canDetectHibernateMappingFiles()
      Deprecated.
      With move to unified schema, this setting is now deprecated and will be removed once support for reading hbm.xml files is fully removed.
      Is detection of Hibernate Mapping files allowed?
      Returns:
      Whether detection of Mapping files is allowed.