Package com.hazelcast.config.replacer
Class PropertyReplacer
java.lang.Object
com.hazelcast.config.replacer.PropertyReplacer
- All Implemented Interfaces:
 ConfigReplacer
ConfigReplacer for replacing property names with property values for properties provided in 
init(Properties) method.
 The implementation can be used for replacing System properties.- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionVariable replacer prefix string.getReplacement(String variable) Provides String which should be used as a variable replacement for given masked value.voidinit(Properties properties) Initialization method called before first usage of the config replacer. 
- 
Constructor Details
- 
PropertyReplacer
public PropertyReplacer() 
 - 
 - 
Method Details
- 
init
Description copied from interface:ConfigReplacerInitialization method called before first usage of the config replacer.- Specified by:
 initin interfaceConfigReplacer- Parameters:
 properties- properties configured (notnull)
 - 
getPrefix
Description copied from interface:ConfigReplacerVariable replacer prefix string. The value returned should be a constant unique short alphanumeric string without whitespaces.- Specified by:
 getPrefixin interfaceConfigReplacer- Returns:
 - constant prefix of this replacer
 
 - 
getReplacement
Description copied from interface:ConfigReplacerProvides String which should be used as a variable replacement for given masked value.- Specified by:
 getReplacementin interfaceConfigReplacer- Parameters:
 variable- the masked value- Returns:
 - either not 
nullString to be used as a replacement for the variable; or null when this replacer is not able to handle the masked value. 
 
 -