public class SpringCompatUtils extends Object
| 构造器和说明 |
|---|
SpringCompatUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.springframework.core.type.MethodMetadata |
getFactoryMethodMetadata(org.springframework.beans.factory.annotation.AnnotatedBeanDefinition annotatedBeanDefinition) |
static String |
getFactoryMethodReturnType(org.springframework.beans.factory.annotation.AnnotatedBeanDefinition annotatedBeanDefinition) |
static Class |
getGenericTypeOfReturnType(org.springframework.core.type.MethodMetadata factoryMethodMetadata)
Get the generic type of return type of the method.
|
static <T> T |
getPropertyValue(org.springframework.beans.PropertyValues pvs,
String propertyName) |
static boolean |
isFactoryMethodMetadataEnabled() |
public static <T> T getPropertyValue(org.springframework.beans.PropertyValues pvs,
String propertyName)
public static boolean isFactoryMethodMetadataEnabled()
public static String getFactoryMethodReturnType(org.springframework.beans.factory.annotation.AnnotatedBeanDefinition annotatedBeanDefinition)
public static org.springframework.core.type.MethodMetadata getFactoryMethodMetadata(org.springframework.beans.factory.annotation.AnnotatedBeanDefinition annotatedBeanDefinition)
public static Class getGenericTypeOfReturnType(org.springframework.core.type.MethodMetadata factoryMethodMetadata)
Source method: ReferenceBean<DemoService> demoService() Result: DemoService.class
factoryMethodMetadata - Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.