Move BindingReflectionHintsRegistrar to spring-core
See gh-28979
This commit is contained in:
parent
6475523a53
commit
aaffb8b27e
|
@ -1,7 +1,6 @@
|
||||||
description = "Spring Context"
|
description = "Spring Context"
|
||||||
|
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
apply plugin: "kotlinx-serialization"
|
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
api(project(":spring-aop"))
|
api(project(":spring-aop"))
|
||||||
|
@ -33,7 +32,6 @@ dependencies {
|
||||||
testImplementation("org.apache.commons:commons-pool2")
|
testImplementation("org.apache.commons:commons-pool2")
|
||||||
testImplementation("org.awaitility:awaitility")
|
testImplementation("org.awaitility:awaitility")
|
||||||
testImplementation("jakarta.inject:jakarta.inject-tck")
|
testImplementation("jakarta.inject:jakarta.inject-tck")
|
||||||
testImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json")
|
|
||||||
testRuntimeOnly("jakarta.xml.bind:jakarta.xml.bind-api")
|
testRuntimeOnly("jakarta.xml.bind:jakarta.xml.bind-api")
|
||||||
testRuntimeOnly("org.glassfish:jakarta.el")
|
testRuntimeOnly("org.glassfish:jakarta.el")
|
||||||
// Substitute for javax.management:jmxremote_optional:1.0.1_04 (not available on Maven Central)
|
// Substitute for javax.management:jmxremote_optional:1.0.1_04 (not available on Maven Central)
|
||||||
|
|
|
@ -4,6 +4,7 @@ import org.springframework.build.shadow.ShadowSource
|
||||||
description = "Spring Core"
|
description = "Spring Core"
|
||||||
|
|
||||||
apply plugin: "kotlin"
|
apply plugin: "kotlin"
|
||||||
|
apply plugin: "kotlinx-serialization"
|
||||||
|
|
||||||
def javapoetVersion = "1.13.0"
|
def javapoetVersion = "1.13.0"
|
||||||
def objenesisVersion = "3.2"
|
def objenesisVersion = "3.2"
|
||||||
|
@ -90,6 +91,7 @@ dependencies {
|
||||||
testFixturesImplementation("org.assertj:assertj-core")
|
testFixturesImplementation("org.assertj:assertj-core")
|
||||||
testFixturesImplementation("org.xmlunit:xmlunit-assertj")
|
testFixturesImplementation("org.xmlunit:xmlunit-assertj")
|
||||||
testFixturesImplementation("io.projectreactor:reactor-test")
|
testFixturesImplementation("io.projectreactor:reactor-test")
|
||||||
|
testImplementation("org.jetbrains.kotlinx:kotlinx-serialization-json")
|
||||||
}
|
}
|
||||||
|
|
||||||
jar {
|
jar {
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.context.aot;
|
package org.springframework.aot.hint.annotation;
|
||||||
|
|
||||||
import java.beans.BeanInfo;
|
import java.beans.BeanInfo;
|
||||||
import java.beans.IntrospectionException;
|
import java.beans.IntrospectionException;
|
||||||
|
@ -40,10 +40,10 @@ import org.springframework.util.ClassUtils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Register the necessary reflection hints so that the specified type can be
|
* Register the necessary reflection hints so that the specified type can be
|
||||||
* bound at runtime. Fields, constructors and property methods are registered,
|
* bound at runtime. Fields, constructors, properties and record components
|
||||||
* except for a set of types like those in the {@code java.} package where just
|
* are registered, except for a set of types like those in the {@code java.}
|
||||||
* the type is registered. Types are discovered transitively and generic types
|
* package where just the type is registered.
|
||||||
* are registered as well.
|
* Types are discovered transitively and generic type are registered as well.
|
||||||
*
|
*
|
||||||
* @author Sebastien Deleuze
|
* @author Sebastien Deleuze
|
||||||
* @since 6.0
|
* @since 6.0
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.context.aot;
|
package org.springframework.aot.hint.annotation;
|
||||||
|
|
||||||
import java.lang.reflect.Type;
|
import java.lang.reflect.Type;
|
||||||
import java.util.List;
|
import java.util.List;
|
|
@ -14,7 +14,7 @@
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
package org.springframework.context.aot
|
package org.springframework.aot.hint.annotation
|
||||||
|
|
||||||
import org.assertj.core.api.Assertions.assertThat
|
import org.assertj.core.api.Assertions.assertThat
|
||||||
import org.assertj.core.api.ThrowingConsumer
|
import org.assertj.core.api.ThrowingConsumer
|
|
@ -24,8 +24,8 @@ import java.security.Principal;
|
||||||
|
|
||||||
import org.springframework.aot.hint.ExecutableMode;
|
import org.springframework.aot.hint.ExecutableMode;
|
||||||
import org.springframework.aot.hint.ReflectionHints;
|
import org.springframework.aot.hint.ReflectionHints;
|
||||||
|
import org.springframework.aot.hint.annotation.BindingReflectionHintsRegistrar;
|
||||||
import org.springframework.aot.hint.annotation.ReflectiveProcessor;
|
import org.springframework.aot.hint.annotation.ReflectiveProcessor;
|
||||||
import org.springframework.context.aot.BindingReflectionHintsRegistrar;
|
|
||||||
import org.springframework.core.MethodParameter;
|
import org.springframework.core.MethodParameter;
|
||||||
import org.springframework.lang.Nullable;
|
import org.springframework.lang.Nullable;
|
||||||
import org.springframework.messaging.Message;
|
import org.springframework.messaging.Message;
|
||||||
|
|
|
@ -23,8 +23,8 @@ import java.lang.reflect.Type;
|
||||||
|
|
||||||
import org.springframework.aot.hint.ExecutableMode;
|
import org.springframework.aot.hint.ExecutableMode;
|
||||||
import org.springframework.aot.hint.ReflectionHints;
|
import org.springframework.aot.hint.ReflectionHints;
|
||||||
|
import org.springframework.aot.hint.annotation.BindingReflectionHintsRegistrar;
|
||||||
import org.springframework.aot.hint.annotation.ReflectiveProcessor;
|
import org.springframework.aot.hint.annotation.ReflectiveProcessor;
|
||||||
import org.springframework.context.aot.BindingReflectionHintsRegistrar;
|
|
||||||
import org.springframework.core.MethodParameter;
|
import org.springframework.core.MethodParameter;
|
||||||
import org.springframework.core.annotation.AnnotatedElementUtils;
|
import org.springframework.core.annotation.AnnotatedElementUtils;
|
||||||
import org.springframework.http.HttpEntity;
|
import org.springframework.http.HttpEntity;
|
||||||
|
|
Loading…
Reference in New Issue