@EnableConfigurationProperties(value=StorageProperties.class) public class StorageConfiguration extends Object
| Constructor and Description |
|---|
StorageConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
StorageCache |
storageCache() |
StorageProviderService |
storageProviderFactory(StorageProperties properties,
StorageCache storageCache) |
@Bean public StorageProviderService storageProviderFactory(StorageProperties properties, StorageCache storageCache)
@Bean @ConditionalOnMissingBean(value=StorageCache.class) @ConditionalOnProperty(name="extend.storage.cache.type", havingValue="default", matchIfMissing=true) public StorageCache storageCache()
Copyright © 2020. All rights reserved.