private String retrieveProperty(String key) throws IOException {
  String ret=null;
  if (null == m_properties) {
    Properties systemProperties=new Properties();
    loadPropertiesAsResource(m_theConfig,getSystemPropertyFileName(),systemProperties);
    Properties deploymentProperties=new Properties(systemProperties);
    loadPropertiesAsFile(getDeploymentPropertyFileName(),deploymentProperties);
    m_properties=deploymentProperties;
  }
  ret=m_properties.getProperty(key);
  if (null == ret) {
    throw new PropertyNotFoundException("The property \"" + key + "\" was not found in the property file \""+ getDeploymentPropertyFileName()+ "\". \n Check the file is in the applications root dir.");
  }
  return ret;
}

private String retrieveProperty ( String key ) throws IOException { String ret = null ; if ( null == m_properties ) { Properties systemProperties = new Properties ( ) ; loadPropertiesAsResource ( m_theConfig , getSystemPropertyFileName ( ) , systemProperties ) ; Properties deploymentProperties = new Properties ( systemProperties ) ; loadPropertiesAsFile ( getDeploymentPropertyFileName ( ) , deploymentProperties ) ; m_properties = deploymentProperties ; } ret = m_properties . getProperty ( key ) ; if ( null == ret ) { throw new PropertyNotFoundException ( "The property \"" + key + "\" was not found in the property file \"" + getDeploymentPropertyFileName ( ) + "\". \n Check the file is in the applications root dir." ) ; } return ret ; }
method retrieveproperty . read configuration properties
