Polish contribution
See gh-33452
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2002-2022 the original author or authors.
|
||||
* Copyright 2002-2024 the original author or authors.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -25,8 +25,9 @@ import org.springframework.lang.Nullable;
|
||||
*
|
||||
* <p>Implementations of this interface can be registered dynamically by using
|
||||
* {@link org.springframework.context.annotation.ImportRuntimeHints @ImportRuntimeHints}
|
||||
* or statically in {@code META-INF/spring/aot.factories} by using the fully-qualified class name of this
|
||||
* interface as the key. A standard no-arg constructor is required for implementations.
|
||||
* or statically in {@code META-INF/spring/aot.factories} by using the fully-qualified
|
||||
* class name of this interface as the key. A standard no-arg constructor is required
|
||||
* for implementations.
|
||||
*
|
||||
* @author Brian Clozel
|
||||
* @author Stephane Nicoll
|
||||
@@ -38,7 +39,8 @@ public interface RuntimeHintsRegistrar {
|
||||
/**
|
||||
* Contribute hints to the given {@link RuntimeHints} instance.
|
||||
* @param hints the hints contributed so far for the deployment unit
|
||||
* @param classLoader the classloader, or {@code null} if even the system ClassLoader isn't accessible
|
||||
* @param classLoader the classloader, or {@code null} if even the system
|
||||
* ClassLoader is not accessible
|
||||
*/
|
||||
void registerHints(RuntimeHints hints, @Nullable ClassLoader classLoader);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user