|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
@UsesOrderedConfiguration(value=SymbolProvider.class) public interface SymbolSource
Used to manage symbols, configuration properties whose value is evaluated at runtime. Symbols use the Ant
syntax: ${foo.bar.baz} where foo.bar.baz is the name of the symbol. The symbol may appear
inside some annotation, such as Value.
SymbolProviders.
Two key SymbolProvider services are FactoryDefaults and ApplicationDefaults.
| Method Summary | |
|---|---|
java.lang.String |
expandSymbols(java.lang.String input)
Given an input string that may contain symbols, returns the string with any and all symbols fully expanded. |
java.lang.String |
valueForSymbol(java.lang.String symbolName)
Expands the value for a particular symbol. |
| Method Detail |
|---|
java.lang.String valueForSymbol(java.lang.String symbolName)
symbolName -
java.lang.RuntimeException - if the symbol name can not be expanded (no SymbolProvider can provide its
value), or if an expansion is directly or indirectly recursivejava.lang.String expandSymbols(java.lang.String input)
input -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||