File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
hibernate-core/src/main/java/org/hibernate/boot/archive/scan Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change 2424import org .hibernate .boot .archive .spi .InputStreamAccess ;
2525
2626/**
27- * Implementation of Scanner that does nothing. Used for optimizing startup
28- * time when metadata scanning is not needed.
27+ * Implementation of Scanner that does no scanning.
28+ * It simply searches for {@code META-INF/orm.xml} path(s) relative
29+ * to the {@linkplain ScanEnvironment#getRootUrl() root} and
30+ * {@linkplain ScanEnvironment#getNonRootUrls() non-root} URLs.
31+ * Used for optimizing startup time when full scanning is not needed.
2932 *
3033 * @author Petteri Pitkanen
3134 */
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ public interface Scanner {
3232 */
3333 ScanResult scan (ScanEnvironment environment , ScanOptions options , ScanParameters params );
3434
35+ /**
36+ * @deprecated (since 7.0) Not used; no replacement.
37+ */
38+ @ Deprecated
3539 default void setArchiveDescriptorFactory (ArchiveDescriptorFactory archiveDescriptorFactory ){
3640 throw new UnsupportedOperationException ();
3741 }
You can’t perform that action at this time.
0 commit comments