org.hibernate.boot.archive.scan.spi.ScanOptions Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
Hibernate's core ORM functionality
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.boot.archive.scan.spi;
/**
* Options for performing scanning
*
* @author Steve Ebersole
*/
public interface ScanOptions {
/**
* Is detection of managed classes from root url allowed? In strict JPA
* sense, this would be controlled by the {@code }
* element.
*
* @return Whether detection of classes from root url is allowed
*/
public boolean canDetectUnlistedClassesInRoot();
/**
* Is detection of managed classes from non-root urls allowed? In strict JPA
* sense, this would always be allowed.
*
* @return Whether detection of classes from non-root urls is allowed
*/
public boolean canDetectUnlistedClassesInNonRoot();
/**
* Is detection of Hibernate Mapping files allowed?
*
* @return Whether detection of Mapping files is allowed.
*
* @deprecated With move to unified schema, this setting is now deprecated and will
* be removed once support for reading {@code hbm.xml} files is fully removed.
*/
@Deprecated
public boolean canDetectHibernateMappingFiles();
}