org.broadleafcommerce.common.config
Class RuntimeEnvironmentPropertiesManager

java.lang.Object
  extended by org.broadleafcommerce.common.config.RuntimeEnvironmentPropertiesManager
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware

public class RuntimeEnvironmentPropertiesManager
extends Object
implements org.springframework.beans.factory.BeanFactoryAware


Field Summary
protected  org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory
           
protected  String prefix
           
 
Constructor Summary
RuntimeEnvironmentPropertiesManager()
           
 
Method Summary
 String getPrefix()
           
 String getProperty(String key)
           
 String getProperty(String key, String suffix)
           
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 String setPrefix(String prefix)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

beanFactory

protected org.springframework.beans.factory.config.ConfigurableBeanFactory beanFactory

prefix

protected String prefix
Constructor Detail

RuntimeEnvironmentPropertiesManager

public RuntimeEnvironmentPropertiesManager()
Method Detail

getPrefix

public String getPrefix()

setPrefix

public String setPrefix(String prefix)

getProperty

public String getProperty(String key,
                          String suffix)

getProperty

public String getProperty(String key)

setBeanFactory

public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
                    throws org.springframework.beans.BeansException
Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
Throws:
org.springframework.beans.BeansException


Copyright © 2013. All Rights Reserved.