Class SystemPropertyPreprocessor

java.lang.Object
com.tangosol.coherence.config.xml.preprocessor.SystemPropertyPreprocessor
All Implemented Interfaces:
DocumentElementPreprocessor.ElementPreprocessor

public class SystemPropertyPreprocessor extends Object implements DocumentElementPreprocessor.ElementPreprocessor
A SystemPropertyPreprocessor is an DocumentElementPreprocessor.ElementPreprocessor that will replace XmlElement content annotated with "system-property" attributes with appropriate System.getProperties().

The element's value is processed for macro expansion. The macro syntax is ${system-property default-value}. Thus, a value of near-${coherence.client direct} can be macro expanded by default to near-direct. If system property coherence.client is set to remote, then the value would be expanded to near-remote.

Since:
Coherence 12.1.2
Author:
bo 2011.08.03