com.wiris.plugin.configuration
Class ParameterServletConfigurationUpdater

java.lang.Object
  extended by com.wiris.plugin.configuration.ParameterServletConfigurationUpdater
All Implemented Interfaces:
ConfigurationUpdater, ConfigurationUpdater2

public class ParameterServletConfigurationUpdater
extends java.lang.Object
implements ConfigurationUpdater2

This class overrides the configuration collecting the values from the servlet context.


Constructor Summary
ParameterServletConfigurationUpdater()
           
 
Method Summary
 void init()
          Initializes the configuration udpater system.
 void init(ServletContext conf)
           
 void updateConfiguration(java.util.Properties configuration)
          Updates the configuration table with the desired values.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterServletConfigurationUpdater

public ParameterServletConfigurationUpdater()
Method Detail

init

public void init(ServletContext conf)
Specified by:
init in interface ConfigurationUpdater2

init

public void init()
Description copied from interface: ConfigurationUpdater
Initializes the configuration udpater system. This method is called before any call to other methods.

Specified by:
init in interface ConfigurationUpdater

updateConfiguration

public void updateConfiguration(java.util.Properties configuration)
Description copied from interface: ConfigurationUpdater
Updates the configuration table with the desired values. It is expected to call Properties.setProperty to change the value of any property.

Specified by:
updateConfiguration in interface ConfigurationUpdater
Parameters:
configuration - The configuration table.