类的使用
cn.taketoday.context.loader.BootstrapContext
使用BootstrapContext的程序包
程序包
说明
-
cn.taketoday.context.annotation中BootstrapContext的使用
修饰符和类型方法说明protected final BootstrapContextConfigurationClassPostProcessor.obtainBootstrapContext()修饰符和类型方法说明static List<cn.taketoday.core.type.filter.TypeFilter>TypeFilterUtils.createTypeFiltersFor(cn.taketoday.core.annotation.MergedAnnotation<ComponentScan.Filter> filterAnnotation, BootstrapContext loadingContext) Create type filters from the suppliedAnnotationAttributes, such as those sourced fromComponentScan.includeFilters()orComponentScan.excludeFilters().voidAutoProxyRegistrar.registerBeanDefinitions(cn.taketoday.core.type.AnnotationMetadata importingClassMetadata, BootstrapContext context) Register, escalate, and configure the standard auto proxy creator (APC) against the given registry.voidImportBeanDefinitionRegistrar.registerBeanDefinitions(cn.taketoday.core.type.AnnotationMetadata importMetadata, BootstrapContext context) Register bean definitions as necessary based on the given annotation metadata of the importing@Configurationclass.voidConfigurationClassPostProcessor.setBootstrapContext(BootstrapContext context) -
cn.taketoday.context.aware中BootstrapContext的使用
-
cn.taketoday.context.loader中BootstrapContext的使用
修饰符和类型方法说明voidBeanDefinitionLoader.loadBeanDefinitions(BootstrapContext loadingContext) voidBeanDefinitionLoadingStrategies.loadBeanDefinitions(cn.taketoday.core.type.classreading.MetadataReader metadata, BootstrapContext loadingContext) voidBeanDefinitionLoadingStrategy.loadBeanDefinitions(cn.taketoday.core.type.classreading.MetadataReader metadata, BootstrapContext loadingContext) voidMetaInfoBeanDefinitionLoader.loadBeanDefinitions(BootstrapContext context) Resolve bean from META-INF/beansvoidMetaInfoBeanDefinitionLoader.loadMetaInfoBeans(BootstrapContext context) Resolve bean from META-INF/beansvoidAnnotationBeanDefinitionRegistrar.registerBeanDefinitions(A target, cn.taketoday.core.type.AnnotationMetadata annotatedMetadata, BootstrapContext context) default voidAnnotationBeanDefinitionRegistrar.registerBeanDefinitions(cn.taketoday.core.type.AnnotationMetadata importMetadata, BootstrapContext context) 参数类型为BootstrapContext的cn.taketoday.context.loader中的构造器 -
cn.taketoday.context.support中BootstrapContext的使用
修饰符和类型方法说明protected abstract BootstrapContextAbstractApplicationContext.createBootstrapContext()Return the DefinitionLoadingContext to use for loading this contextprotected BootstrapContextAbstractRefreshableApplicationContext.createBootstrapContext()protected BootstrapContextGenericApplicationContext.createBootstrapContext()AbstractApplicationContext.getBootstrapContext()Returns BootstrapContextprotected final BootstrapContextAbstractApplicationContext.obtainBootstrapContext()修饰符和类型方法说明voidAbstractApplicationContext.setBootstrapContext(BootstrapContext bootstrapContext) set BootstrapContext