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 24
24
import org .hibernate .boot .archive .spi .InputStreamAccess ;
25
25
26
26
/**
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.
29
32
*
30
33
* @author Petteri Pitkanen
31
34
*/
Original file line number Diff line number Diff line change @@ -32,6 +32,10 @@ public interface Scanner {
32
32
*/
33
33
ScanResult scan (ScanEnvironment environment , ScanOptions options , ScanParameters params );
34
34
35
+ /**
36
+ * @deprecated (since 7.0) Not used; no replacement.
37
+ */
38
+ @ Deprecated
35
39
default void setArchiveDescriptorFactory (ArchiveDescriptorFactory archiveDescriptorFactory ){
36
40
throw new UnsupportedOperationException ();
37
41
}
You can’t perform that action at this time.
0 commit comments