Class 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
    A ProtocolResolver implementation for the azure-blob:// or azure-file:// protocol.
    Author:
    Warren Zhu
    • Constructor Detail

      • AzureStorageProtocolResolver

        public AzureStorageProtocolResolver()
    • Method Detail

      • postProcessBeanFactory

        public void postProcessBeanFactory​(org.springframework.beans.factory.config.ConfigurableListableBeanFactory beanFactory)
                                    throws org.springframework.beans.BeansException
        Specified by:
        postProcessBeanFactory in interface org.springframework.beans.factory.config.BeanFactoryPostProcessor
        Throws:
        org.springframework.beans.BeansException
      • setResourceLoader

        public void setResourceLoader​(org.springframework.core.io.ResourceLoader resourceLoader)
        Specified by:
        setResourceLoader in interface org.springframework.context.ResourceLoaderAware
      • resolve

        public org.springframework.core.io.Resource resolve​(String location,
                                                            org.springframework.core.io.ResourceLoader resourceLoader)
        Specified by:
        resolve in interface org.springframework.core.io.ProtocolResolver