org.broadleafcommerce.common.web.expression
Class PropertiesVariableExpression

java.lang.Object
  extended by 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)

Field Summary
protected  RuntimeEnvironmentPropertiesManager propMgr
           
 
Constructor Summary
PropertiesVariableExpression()
           
 
Method Summary
 String get(String propertyName)
           
 int getAsInt(String propertyName)
           
 String getName()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

propMgr

@Autowired
protected RuntimeEnvironmentPropertiesManager propMgr
Constructor Detail

PropertiesVariableExpression

public PropertiesVariableExpression()
Method Detail

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.