Class JsonPropertySourceFactory

java.lang.Object
io.microsphere.spring.config.env.support.JsonPropertySourceFactory
All Implemented Interfaces:
org.springframework.core.io.support.PropertySourceFactory

public class JsonPropertySourceFactory extends Object implements org.springframework.core.io.support.PropertySourceFactory
PropertySourceFactory for JSON
Since:
1.0.0
Author:
Mercy
See Also:
  • PropertySourceFactory
  • PropertySource
  • Constructor Details

    • JsonPropertySourceFactory

      public JsonPropertySourceFactory()
  • Method Details

    • 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
      Throws:
      IOException