org.broadleafcommerce.common.web.expression
Class PropertiesVariableExpression
java.lang.Object
org.broadleafcommerce.common.web.expression.PropertiesVariableExpression
- All Implemented Interfaces:
- BroadleafVariableExpression
public class PropertiesVariableExpression
- extends Object
- implements BroadleafVariableExpression
This Thymeleaf variable expression class provides access to runtime configuration properties that are configured
in development.properties, development-shared.properties, etc, for the current environment.
- Author:
- Andre Azzolini (apazzolini)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
propMgr
@Autowired
protected RuntimeEnvironmentPropertiesManager propMgr
PropertiesVariableExpression
public PropertiesVariableExpression()
getName
public String getName()
- Specified by:
getName in interface BroadleafVariableExpression
get
public String get(String propertyName)
getAsInt
public int getAsInt(String propertyName)
Copyright © 2013. All Rights Reserved.