|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.alfresco.config.SystemPropertiesSetterBean
public class SystemPropertiesSetterBean
Takes a set of properties and pushes them into the Java environment. Usually, VM properties
are required by the system (see 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 SystemPropertiesSetterBean.init()
method to push the properties.
Method Summary | |
---|---|
void |
init()
|
void |
setPropertyMap(java.util.Map propertyMap)
Set the properties that will be pushed onto the JVM. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setPropertyMap(java.util.Map propertyMap)
propertyMap
- a map of property name to property valuepublic void init()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |