Package org.alfresco.config
Class SystemPropertiesSetterBean
- java.lang.Object
-
- org.alfresco.config.SystemPropertiesSetterBean
-
public class SystemPropertiesSetterBean extends java.lang.Object
Takes a set of properties and pushes them into the Java environment. Usually, VM properties are required by the system (seeSystemPropertiesFactoryBean
and Spring's PropertyPlaceholderConfigurer); sometimes it is necessary to take properties available to Spring and push them onto the VM.For simplicity, the system property, if present, will NOT be modified. Also, property placeholders (${...}), empty values and null values will be ignored.
Use the
init()
method to push the properties.- Since:
- V3.1
- Author:
- Derek Hulley
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
init()
void
setPropertyMap(java.util.Map<java.lang.String,java.lang.String> propertyMap)
Set the properties that will be pushed onto the JVM.
-