public class NacosJsonPropertySourceLoader extends AbstractPropertySourceLoader
| Constructor and Description |
|---|
NacosJsonPropertySourceLoader() |
| Modifier and Type | Method and Description |
|---|---|
protected List<org.springframework.core.env.PropertySource<?>> |
doLoad(String name,
org.springframework.core.io.Resource resource)
Load the resource into one or more property sources.
|
String[] |
getFileExtensions()
Returns the file extensions that the loader supports (excluding the '.').
|
protected Map<String,Object> |
reloadMap(Map<String,Object> map)
Reload the key ending in `value` if need.
|
canLoad, flattenedMap, loadpublic String[] getFileExtensions()
protected List<org.springframework.core.env.PropertySource<?>> doLoad(String name, org.springframework.core.io.Resource resource) throws IOException
doLoad in class AbstractPropertySourceLoadername - the root name of the property source. If multiple documents are loaded
an additional suffix should be added to the name for each source loaded.resource - the resource to loadIOException - if the source cannot be loadedCopyright © 2023 Pivotal Software, Inc.. All rights reserved.