Class AbstractPropertySourceFactory
java.lang.Object
spring.turbo.module.configuration.env.AbstractPropertySourceFactory
- All Implemented Interfaces:
org.springframework.core.io.support.PropertySourceFactory
- Direct Known Subclasses:
HoconPropertySourceFactory,YamlPropertySourceFactory
public abstract class AbstractPropertySourceFactory
extends Object
implements org.springframework.core.io.support.PropertySourceFactory
(内部使用)
- Since:
- 2.1.3
- Author:
- 应卓
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractPropertySourceFactory(org.springframework.boot.env.PropertySourceLoader loader) -
Method Summary
Modifier and TypeMethodDescriptionfinal org.springframework.core.env.PropertySource<?>createPropertySource(String name, org.springframework.core.io.support.EncodedResource resource)
-
Constructor Details
-
AbstractPropertySourceFactory
public AbstractPropertySourceFactory(org.springframework.boot.env.PropertySourceLoader loader)
-
-
Method Details
-
createPropertySource
public final org.springframework.core.env.PropertySource<?> createPropertySource(@Nullable String name, org.springframework.core.io.support.EncodedResource resource) throws IOException - Specified by:
createPropertySourcein interfaceorg.springframework.core.io.support.PropertySourceFactory- Throws:
IOException
-