Java Code Examples for org.springframework.boot.autoconfigure.condition.SearchStrategy#ALL

The following examples show how to use org.springframework.boot.autoconfigure.condition.SearchStrategy#ALL . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: SoulExtConfiguration.java    From soul with Apache License 2.0 5 votes vote down vote up
/**
 * Remote address resolver remote address resolver.
 *
 * @return the remote address resolver
 */
@Bean
@ConditionalOnMissingBean(value = RemoteAddressResolver.class, search = SearchStrategy.ALL)
public RemoteAddressResolver remoteAddressResolver() {
    return new RemoteAddressResolver() {
    };
}
 
Example 2
Source File: SignPluginConfiguration.java    From soul with Apache License 2.0 4 votes vote down vote up
/**
 * Sign service sign service.
 *
 * @return the sign service
 */
@Bean
@ConditionalOnMissingBean(value = SignService.class, search = SearchStrategy.ALL)
public SignService signService() {
    return new DefaultSignService();
}
 
Example 3
Source File: GlobalPluginConfiguration.java    From soul with Apache License 2.0 4 votes vote down vote up
/**
 * Soul context builder soul context builder.
 *
 * @return the soul context builder
 */
@Bean
@ConditionalOnMissingBean(value = SoulContextBuilder.class, search = SearchStrategy.ALL)
public SoulContextBuilder soulContextBuilder() {
    return new DefaultSoulContextBuilder();
}
 
Example 4
Source File: SoulExtConfiguration.java    From soul with Apache License 2.0 4 votes vote down vote up
/**
 * Soul result soul result.
 *
 * @return the soul result
 */
@Bean
@ConditionalOnMissingBean(value = SoulResult.class, search = SearchStrategy.ALL)
public SoulResult soulResult() {
    return new DefaultSoulResult();
}
 
Example 5
Source File: SoulConfiguration.java    From soul with Apache License 2.0 4 votes vote down vote up
/**
 * Generic param resolve service dubbo param resolve service.
 *
 * @return the dubbo param resolve service
 */
@Bean
@ConditionalOnMissingBean(value = DubboParamResolveService.class, search = SearchStrategy.ALL)
public DubboParamResolveService defaultDubboParamResolveService() {
    return new DefaultDubboParamResolveService();
}