Class AzureStorageProtocolResolver
- java.lang.Object
-
- com.azure.spring.autoconfigure.storage.resource.AzureStorageProtocolResolver
-
- All Implemented Interfaces:
org.springframework.beans.factory.Aware,org.springframework.beans.factory.config.BeanFactoryPostProcessor,org.springframework.context.ResourceLoaderAware,org.springframework.core.io.ProtocolResolver
public class AzureStorageProtocolResolver extends Object implements org.springframework.core.io.ProtocolResolver, org.springframework.beans.factory.config.BeanFactoryPostProcessor, org.springframework.context.ResourceLoaderAware
AProtocolResolverimplementation for theazure-blob://orazure-file://protocol.- Author:
- Warren Zhu
-
-
Constructor Summary
Constructors Constructor Description AzureStorageProtocolResolver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpostProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)org.springframework.core.io.Resourceresolve(String location, org.springframework.core.io.ResourceLoader resourceLoader)voidsetResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
-
-
-
Method Detail
-
postProcessBeanFactory
public void postProcessBeanFactory(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory) throws org.springframework.beans.BeansException- Specified by:
postProcessBeanFactoryin interfaceorg.springframework.beans.factory.config.BeanFactoryPostProcessor- Throws:
org.springframework.beans.BeansException
-
setResourceLoader
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
- Specified by:
setResourceLoaderin interfaceorg.springframework.context.ResourceLoaderAware
-
resolve
public org.springframework.core.io.Resource resolve(String location, org.springframework.core.io.ResourceLoader resourceLoader)
- Specified by:
resolvein interfaceorg.springframework.core.io.ProtocolResolver
-
-