org.kuali.common.util.property
Class DefaultPropertyContext

java.lang.Object
  extended by org.kuali.common.util.property.DefaultPropertyContext
All Implemented Interfaces:
PropertyContext
Direct Known Subclasses:
DefaultPropertyLoadContext, DefaultPropertyStoreContext

public class DefaultPropertyContext
extends Object
implements PropertyContext


Constructor Summary
DefaultPropertyContext()
           
 
Method Summary
protected  void addProcessors()
           
 Properties getBuildProperties()
           
 List<String> getBuildPropertyExcludes()
           
 List<String> getBuildPropertyIncludes()
           
protected  List<PropertyProcessor> getDefaultProcessors()
           
protected  PropertyProcessor getEncProcessor(EncryptionMode mode, EncryptionStrength strength, String password)
           
 String getEncryptionMode()
           
 String getEncryptionPassword()
           
 String getEncryptionStrength()
           
 String getGlobalPropertiesMode()
           
 org.springframework.util.PropertyPlaceholderHelper getHelper()
           
 Obscurer getObscurer()
           
protected  String getPlaceholderKey(String string)
           
 String getPrefix()
           
 List<PropertyProcessor> getProcessors()
           
 Properties getProperties()
           
 String getResolvePlaceholders()
           
 String getStyle()
           
protected  PropertyProcessor getStyleProcessor(String style)
           
 void initialize(Properties properties)
           
protected  void log()
           
protected  void remove(String string, String resolvedString, Properties properties)
           
protected  String resolve(String string, Properties properties)
           
protected  String resolveAndRemove(String string, Properties global, Properties properties)
           
 void setBuildProperties(Properties buildProperties)
           
 void setBuildPropertyExcludes(List<String> buildPropertyExcludes)
           
 void setBuildPropertyIncludes(List<String> buildPropertyIncludes)
           
 void setEncryptionMode(String encryptionMode)
           
 void setEncryptionPassword(String encryptionPassword)
           
 void setEncryptionStrength(String encryptionStrength)
           
 void setGlobalPropertiesMode(String globalPropertiesMode)
           
 void setHelper(org.springframework.util.PropertyPlaceholderHelper helper)
           
 void setObscurer(Obscurer obscurer)
           
 void setPrefix(String prefix)
           
 void setProcessors(List<PropertyProcessor> processors)
           
 void setProperties(Properties properties)
           
 void setResolvePlaceholders(String resolvePlaceholders)
           
 void setStyle(String style)
           
protected  void validate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPropertyContext

public DefaultPropertyContext()
Method Detail

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)

getObscurer

public Obscurer getObscurer()

setObscurer

public void setObscurer(Obscurer obscurer)

getBuildProperties

public Properties getBuildProperties()

setBuildProperties

public void setBuildProperties(Properties buildProperties)

getBuildPropertyIncludes

public List<String> getBuildPropertyIncludes()

setBuildPropertyIncludes

public void setBuildPropertyIncludes(List<String> buildPropertyIncludes)

getBuildPropertyExcludes

public List<String> getBuildPropertyExcludes()

setBuildPropertyExcludes

public void setBuildPropertyExcludes(List<String> buildPropertyExcludes)


Copyright © 2010-2013 The Kuali Foundation. All Rights Reserved.