public abstract class WrapperUtils extends Object
| 构造器和说明 |
|---|
WrapperUtils() |
| 限定符和类型 | 方法和说明 |
|---|---|
static org.springframework.beans.factory.config.ConfigurableListableBeanFactory |
unwrap(org.springframework.beans.factory.BeanFactory beanFactory)
Unwrap
BeanFactory to ConfigurableListableBeanFactory |
static org.springframework.core.env.ConfigurableEnvironment |
unwrap(org.springframework.core.env.Environment environment)
Unwrap
Environment to ConfigurableEnvironment |
public static org.springframework.beans.factory.config.ConfigurableListableBeanFactory unwrap(org.springframework.beans.factory.BeanFactory beanFactory)
throws IllegalArgumentException
BeanFactory to ConfigurableListableBeanFactorybeanFactory - ConfigurableListableBeanFactoryConfigurableListableBeanFactoryIllegalArgumentException - If beanFactory argument is not an instance of ConfigurableListableBeanFactorypublic static org.springframework.core.env.ConfigurableEnvironment unwrap(org.springframework.core.env.Environment environment)
throws IllegalArgumentException
Environment to ConfigurableEnvironmentenvironment - EnvironmentConfigurableEnvironmentIllegalArgumentException - If environment argument is not an instance of ConfigurableEnvironmentCopyright © 2020. All rights reserved.