public class StandaloneInterpolator extends Object
| Constructor and Description |
|---|
StandaloneInterpolator(Map<String,String> frameworkProperties,
File... secretsLocations)
Constructor.
|
StandaloneInterpolator(Map<String,String> frameworkProperties,
String encoding,
File... secretsLocations)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
interpolate(String pid,
Dictionary<String,Object> dict)
Perform configuration interpolations.
|
public StandaloneInterpolator(Map<String,String> frameworkProperties, File... secretsLocations)
frameworkProperties - Properties to use for framework property substitutions.secretsLocations - The directories where secrets files can be found. The platform default
encoding will be used for these files.public StandaloneInterpolator(Map<String,String> frameworkProperties, String encoding, File... secretsLocations)
frameworkProperties - Properties to use for framework property substitutions.encoding - The file encoding to be used for the files in the secrets locations.secretsLocations - The directories where secrets files can be found.public void interpolate(String pid, Dictionary<String,Object> dict)
pid - The PID of the configuration.dict - The dictionary containing the configuration properties. The dictionary will be updated
by the interpolation substitutions.Copyright © 2006–2022 The Apache Software Foundation. All rights reserved.