public class SystemPropertiesSetterBean extends Object
SystemPropertiesFactoryBean
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.
Modifier and Type | Method and Description |
---|---|
void |
init() |
void |
setPropertyMap(Map<String,String> propertyMap)
Set the properties that will be pushed onto the JVM.
|
Copyright © 2005–2020 Alfresco Software. All rights reserved.