Skip to content

Commit 3d83db6

Browse files
committed
Mention @ImportRuntimeHints in RuntimeHintsRegistrar Javadoc
Closes gh-29337
1 parent 7df8b59 commit 3d83db6

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

spring-core/src/main/java/org/springframework/aot/hint/RuntimeHintsRegistrar.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
* of the deployment unit. Implementations should, if possible, use the specified
2424
* {@link ClassLoader} to determine if hints have to be contributed.
2525
*
26-
* <p>Implementations of this interface can be registered statically in
27-
* {@code META-INF/spring/aot.factories} by using the FQN of this interface as
28-
* the key. A standard no-arg constructor is required for implementations.
26+
* <p>Implementations of this interface can be registered dynamically by using
27+
* {@link org.springframework.context.annotation.ImportRuntimeHints @ImportRuntimeHints}
28+
* or statically in {@code META-INF/spring/aot.factories} by using the FQN of this
29+
* interface as the key. A standard no-arg constructor is required for implementations.
2930
*
3031
* @author Brian Clozel
3132
* @author Stephane Nicoll

0 commit comments

Comments
 (0)