@Taxonomy(stability=UNCOMMITTED) public class AttributeResolverHelper extends VariableResolver
NOOP, SYS_PROP_TR| Constructor and Description |
|---|
AttributeResolverHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getVariableValue(String varName)
Returns the value of the variable.
|
static boolean |
needsResolving(String value)
Return true if the string is a template string of the for ${...}
|
String |
resolve(String in)
Resolve the String using the target resolver (MBean).
|
translateprotected String getVariableValue(String varName) throws TranslationException
VariableResolvergetVariableValue in class VariableResolverTranslationException,
which is an useful technique if the implementation would like to report
additional errors.TranslationExceptionpublic static boolean needsResolving(String value)
public String resolve(String in) throws TranslationException
TranslationExceptionCopyright © 2019. All rights reserved.