@Service public class BrokerPropertiesService extends Object implements org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
BrokerPropertiesService()
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addProperties(Properties props)
Adds the Properties structure to the broker configuration.
|
void |
addProperties(org.apache.commons.configuration2.PropertiesConfiguration props)
Adds the PropertiesConfiguration to the broker configuration.
|
Collection<?> |
configureInstances(Class<?> target) |
void |
configureMe(Object target) |
Double |
getDoubleProperty(String name,
Double defaultValue) |
Integer |
getIntegerProperty(String name,
Integer defaultValue) |
String |
getProperty(String name) |
String |
getProperty(String name,
String defaultValue) |
void |
setApplicationContext(org.springframework.context.ApplicationContext context) |
void |
setProperty(String key,
Object value)
Changes the value of a property (or adds a property).
|
void |
setUserConfig(File userConfig) |
public void setUserConfig(File userConfig)
public void addProperties(Properties props)
public void addProperties(org.apache.commons.configuration2.PropertiesConfiguration props)
public void configureMe(Object target)
public Collection<?> configureInstances(Class<?> target)
public void setApplicationContext(org.springframework.context.ApplicationContext context)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2018 Power TAC. All rights reserved.