@Configuration @EnableConfigurationProperties(value=FrameworkFastDFSProperties.class) @ConditionalOnProperty(prefix="framework.fastdfs", value="enabled", havingValue="true", matchIfMissing=true) public class FastDFSClientConfig extends Object
Fast dfs client config
| 构造器和说明 |
|---|
FastDFSClientConfig() |
@Bean @ConditionalOnMissingBean public TrackerServerPool trackerServerPool(FrameworkFastDFSProperties properties) throws Exception
properties - 配置文件中定义的属性Exception - 创建失败抛出异常Copyright © 2019. All rights reserved.