Package org.aoju.bus.starter.storage
Class StorageConfiguration
java.lang.Object
org.aoju.bus.starter.storage.StorageConfiguration
@EnableConfigurationProperties(StorageProperties.class)
public class StorageConfiguration
extends Object
授权配置
- Since:
- Java 17+
- Author:
- Kimi Liu
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.aoju.bus.cache.metric.ExtendCachestorageProviderFactory(StorageProperties properties, org.aoju.bus.cache.metric.ExtendCache extendCache)
-
Constructor Details
-
StorageConfiguration
public StorageConfiguration()
-
-
Method Details
-
storageProviderFactory
@Bean public StorageProviderService storageProviderFactory(StorageProperties properties, org.aoju.bus.cache.metric.ExtendCache extendCache) -
storageCache
@Bean @ConditionalOnMissingBean(org.aoju.bus.cache.metric.ExtendCache.class) @ConditionalOnProperty(name="extend.storage.cache.type", havingValue="default", matchIfMissing=true) public org.aoju.bus.cache.metric.ExtendCache storageCache()
-