org.kuali.common.util.property
Class DefaultPropertyContext
java.lang.Object
org.kuali.common.util.property.DefaultPropertyContext
- All Implemented Interfaces:
- PropertyContext
- Direct Known Subclasses:
- DefaultPropertyLoadContext, DefaultPropertyStoreContext
public class DefaultPropertyContext
- extends Object
- implements PropertyContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultPropertyContext
public DefaultPropertyContext()
getDefaultProcessors
protected List<PropertyProcessor> getDefaultProcessors()
getStyleProcessor
protected PropertyProcessor getStyleProcessor(String style)
getEncProcessor
protected PropertyProcessor getEncProcessor(EncryptionMode mode,
EncryptionStrength strength,
String password)
log
protected void log()
initialize
public void initialize(Properties properties)
- Specified by:
initialize
in interface PropertyContext
addProcessors
protected void addProcessors()
validate
protected void validate()
getPlaceholderKey
protected String getPlaceholderKey(String string)
remove
protected void remove(String string,
String resolvedString,
Properties properties)
resolveAndRemove
protected String resolveAndRemove(String string,
Properties global,
Properties properties)
resolve
protected String resolve(String string,
Properties properties)
getPrefix
public String getPrefix()
setPrefix
public void setPrefix(String prefix)
getStyle
public String getStyle()
setStyle
public void setStyle(String style)
getHelper
public org.springframework.util.PropertyPlaceholderHelper getHelper()
setHelper
public void setHelper(org.springframework.util.PropertyPlaceholderHelper helper)
getEncryptionMode
public String getEncryptionMode()
setEncryptionMode
public void setEncryptionMode(String encryptionMode)
getEncryptionStrength
public String getEncryptionStrength()
setEncryptionStrength
public void setEncryptionStrength(String encryptionStrength)
getEncryptionPassword
public String getEncryptionPassword()
setEncryptionPassword
public void setEncryptionPassword(String encryptionPassword)
getProcessors
public List<PropertyProcessor> getProcessors()
- Specified by:
getProcessors
in interface PropertyContext
setProcessors
public void setProcessors(List<PropertyProcessor> processors)
getProperties
public Properties getProperties()
setProperties
public void setProperties(Properties properties)
getGlobalPropertiesMode
public String getGlobalPropertiesMode()
setGlobalPropertiesMode
public void setGlobalPropertiesMode(String globalPropertiesMode)
getResolvePlaceholders
public String getResolvePlaceholders()
setResolvePlaceholders
public void setResolvePlaceholders(String resolvePlaceholders)
Copyright © 2010-2012 The Kuali Foundation. All Rights Reserved.