Class SystemEnvSymbolProvider
java.lang.Object
org.apache.tapestry5.ioc.internal.services.SystemEnvSymbolProvider
- All Implemented Interfaces:
SymbolProvider
Provides case insensitive access to environment variables. Environment variable symbols
are prefixed with "env.".
- Since:
- 5.3
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvalueForSymbol(String symbolName) Returns the value for the symbol, or null if this provider can not provide a value.
-
Constructor Details
-
SystemEnvSymbolProvider
public SystemEnvSymbolProvider()
-
-
Method Details
-
valueForSymbol
Description copied from interface:SymbolProviderReturns the value for the symbol, or null if this provider can not provide a value. The value itself may contain symbols that will be recursively expanded.- Specified by:
valueForSymbolin interfaceSymbolProvider- Returns:
- the value or null
-