类 SpringContext
java.lang.Object
spring.turbo.core.SpringContext
ApplicationContext 的装饰器- 从以下版本开始:
- 1.0.0
- 作者:
- 应卓
- 另请参阅:
-
ApplicationContext
-
构造器概要
构造器 -
方法概要
修饰符和类型方法说明booleancontainsBean(Class<?> beanType) <T> booleancontainsBean(String beanName) org.springframework.boot.ApplicationArgumentsorg.springframework.context.ApplicationContextorg.springframework.context.ApplicationEventPublisher<T> Optional<T><T> Optional<T>org.springframework.beans.factory.support.BeanDefinitionRegistry<T> List<T>getBeanList(Class<T> beanType) <T> List<T>getBeanList(Class<T> beanType, T defaultIfNotNull) org.springframework.core.convert.ConversionServiceorg.springframework.core.env.Environmentorg.springframework.context.MessageSource<T> org.springframework.beans.factory.ObjectProvider<T>getObjectProvider(Class<T> beanType) org.springframework.core.io.ResourceLoaderorg.springframework.core.io.support.ResourcePatternResolverorg.springframework.validation.Validatorstatic SpringContextof(org.springframework.context.ApplicationContext applicationContext) 创建实例
-
构造器详细资料
-
SpringContext
public SpringContext(org.springframework.context.ApplicationContext applicationContext) 构造方法- 参数:
applicationContext- spring上下文实例
-
-
方法详细资料
-
of
创建实例- 参数:
applicationContext- spring上下文实例- 返回:
- 实例
-
getApplicationContext
public org.springframework.context.ApplicationContext getApplicationContext() -
getBeanDefinitionRegistry
public org.springframework.beans.factory.support.BeanDefinitionRegistry getBeanDefinitionRegistry() -
getObjectProvider
-
getResourceLoader
public org.springframework.core.io.ResourceLoader getResourceLoader() -
getResourcePatternResolver
public org.springframework.core.io.support.ResourcePatternResolver getResourcePatternResolver() -
getApplicationEventPublisher
public org.springframework.context.ApplicationEventPublisher getApplicationEventPublisher() -
getEnvironment
public org.springframework.core.env.Environment getEnvironment() -
getApplicationArguments
public org.springframework.boot.ApplicationArguments getApplicationArguments() -
getConversionService
public org.springframework.core.convert.ConversionService getConversionService() -
getValidator
public org.springframework.validation.Validator getValidator() -
getMessageSource
public org.springframework.context.MessageSource getMessageSource() -
getBean
-
getBean
-
getBeanList
-
getBeanList
-
containsBean
-
containsBean
-