Package org.wso2.config.mapper
Class ReferenceResolver
java.lang.Object
org.wso2.config.mapper.ReferenceResolver
Resolves placeholder references in the configuration.
Placeholders can be added to any of the following categories, and their combinations.
${ref} - Resolves to the 'ref' configuration's value $sys{ref} - Resolves to the 'ref' system property $env{ref} - Resolves to the 'ref' environment variable
There can also be combinations of the above. eg.
http://$env{hostname}:${port}/somecontext/
-
Method Summary
-
Method Details
-
resolve
Resolves the placeholder strings.- Parameters:
context- Context object- Throws:
ConfigParserException
-