类org.springframework.boot.autoconfigure.condition.ConditionalOnNotWebApplication源码实例Demo

下面列出了怎么用org.springframework.boot.autoconfigure.condition.ConditionalOnNotWebApplication的API类实例代码及写法,或者点击链接到github查看源代码。

源代码1 项目: ogham   文件: OghamThymeleafV3Configuration.java
@Bean
@ConditionalOnMissingBean(ThymeleafContextConverter.class)
@ConditionalOnNotWebApplication
public ThymeleafContextConverter springStandaloneThymeleafContextConverter(
		StaticVariablesProvider staticVariablesProvider, 
		ThymeleafEvaluationContextProvider thymeleafEvaluationContextProvider,
		ContextMerger contextMerger) {
	return springThymeleafContextConverter(staticVariablesProvider, thymeleafEvaluationContextProvider, contextMerger);
}
 
源代码2 项目: ogham   文件: OghamThymeleafV2Configuration.java
@Bean
@ConditionalOnMissingBean(ThymeleafContextConverter.class)
@ConditionalOnNotWebApplication
public ThymeleafContextConverter springStandaloneThymeleafContextConverter(
		StaticVariablesProvider staticVariablesProvider, 
		ThymeleafEvaluationContextProvider thymeleafEvaluationContextProvider,
		ContextMerger contextMerger) {
	return springThymeleafContextConverter(staticVariablesProvider, thymeleafEvaluationContextProvider, contextMerger);
}
 
源代码3 项目: hasor   文件: BasicHasorConfiguration.java
@Bean
@ConditionalOnNotWebApplication
public AppContext normalAppContext(ApplicationContext applicationContext) {
    return this.createAppContext(null, applicationContext);
}
 
 类方法
 同包方法