Class YamlPropertyLoaderFactory

  • All Implemented Interfaces:
    org.springframework.core.io.support.PropertySourceFactory

    public class YamlPropertyLoaderFactory
    extends org.springframework.core.io.support.DefaultPropertySourceFactory
    Author:
    Chad Harchar (charchar)
    • Constructor Detail

      • YamlPropertyLoaderFactory

        public YamlPropertyLoaderFactory()
    • Method Detail

      • createPropertySource

        public org.springframework.core.env.PropertySource<?> createPropertySource​(String name,
                                                                                   org.springframework.core.io.support.EncodedResource resource)
                                                                            throws IOException
        Specified by:
        createPropertySource in interface org.springframework.core.io.support.PropertySourceFactory
        Overrides:
        createPropertySource in class org.springframework.core.io.support.DefaultPropertySourceFactory
        Throws:
        IOException