Class ServletContextSymbolProvider
- java.lang.Object
-
- org.apache.tapestry5.http.internal.ServletContextSymbolProvider
-
- All Implemented Interfaces:
SymbolProvider
public class ServletContextSymbolProvider extends Object implements SymbolProvider
A wrapper aroundServletContext
that makes init-parameters accessible as symbols.
-
-
Constructor Summary
Constructors Constructor Description ServletContextSymbolProvider(ServletContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
valueForSymbol(String symbolName)
Returns the value for the symbol, or null if this provider can not provide a value.
-
-
-
Constructor Detail
-
ServletContextSymbolProvider
public ServletContextSymbolProvider(ServletContext context)
-
-
Method Detail
-
valueForSymbol
public String valueForSymbol(String symbolName)
Description copied from interface:SymbolProvider
Returns 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:
valueForSymbol
in interfaceSymbolProvider
- Returns:
- the value or null
-
-