org.sonar.web
Class ConfigurationFactory

java.lang.Object
  extended by org.sonar.web.ConfigurationFactory

public class ConfigurationFactory
extends java.lang.Object


Constructor Summary
ConfigurationFactory()
           
 
Method Summary
protected  void allowUsingEnvironmentVariables()
           
protected  java.lang.String autodetectWebappDeployDirectory(javax.servlet.ServletContextEvent sce)
           
 org.apache.commons.configuration.Configuration getConfiguration(javax.servlet.ServletContextEvent sce)
           
 org.apache.commons.configuration.PropertiesConfiguration getConfigurationFromPropertiesFile()
           
protected  org.apache.commons.configuration.PropertiesConfiguration getConfigurationFromPropertiesFile(java.lang.String filename)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigurationFactory

public ConfigurationFactory()
Method Detail

getConfiguration

public org.apache.commons.configuration.Configuration getConfiguration(javax.servlet.ServletContextEvent sce)

allowUsingEnvironmentVariables

protected void allowUsingEnvironmentVariables()

getConfigurationFromPropertiesFile

protected org.apache.commons.configuration.PropertiesConfiguration getConfigurationFromPropertiesFile(java.lang.String filename)
                                                                                               throws ConfigurationException
Throws:
ConfigurationException

getConfigurationFromPropertiesFile

public org.apache.commons.configuration.PropertiesConfiguration getConfigurationFromPropertiesFile()
                                                                                            throws ConfigurationException
Throws:
ConfigurationException

autodetectWebappDeployDirectory

protected java.lang.String autodetectWebappDeployDirectory(javax.servlet.ServletContextEvent sce)


Copyright © 2008 SonarSource SA. All Rights Reserved.