Class OpeniamResourcePropertySource


  • public class OpeniamResourcePropertySource
    extends org.springframework.core.io.support.ResourcePropertySource
    Custom Resource Property Source As of V4.2.0, we attempt to fetch the property from vault.
    Author:
    lbornov2
    • Constructor Detail

      • OpeniamResourcePropertySource

        public OpeniamResourcePropertySource​(org.springframework.core.io.support.EncodedResource resource)
                                      throws IOException
        Throws:
        IOException
      • OpeniamResourcePropertySource

        public OpeniamResourcePropertySource​(org.springframework.core.io.Resource resource)
                                      throws IOException
        Throws:
        IOException
      • OpeniamResourcePropertySource

        public OpeniamResourcePropertySource​(String name,
                                             org.springframework.core.io.support.EncodedResource resource)
                                      throws IOException
        Throws:
        IOException
      • OpeniamResourcePropertySource

        public OpeniamResourcePropertySource​(String name,
                                             org.springframework.core.io.Resource resource)
                                      throws IOException
        Throws:
        IOException
    • Method Detail

      • getProperty

        public Object getProperty​(String name)
        Overrides:
        getProperty in class org.springframework.core.env.MapPropertySource