public class UriRegistryPopulator extends Object implements org.springframework.context.ResourceLoaderAware
UriRegistry via a
Properties file. One or more URI strings indicating the
location of property files is supplied via the constructor,
and the files themselves are loaded via the Resource
provided by resourceLoader.| Constructor and Description |
|---|
UriRegistryPopulator() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,URI> |
populateRegistry(boolean overwrite,
UriRegistry registry,
String... resourceUris)
Populate the provided registry with the contents of
the property files indicated by
resourceUris. |
void |
setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader) |
public void setResourceLoader(org.springframework.core.io.ResourceLoader resourceLoader)
setResourceLoader in interface org.springframework.context.ResourceLoaderAwarepublic Map<String,URI> populateRegistry(boolean overwrite, UriRegistry registry, String... resourceUris)
resourceUris.overwrite - if true, overwrites any pre-existing registrations with the same keyregistry - the registry to populateresourceUris - string(s) indicating the URIs to load properties fromCopyright © 2017 Pivotal Software, Inc.. All rights reserved.