FileDocCategorySizeDatePackage
DefaultPropertiesProvider.javaAPI DocExample2008Mon Jul 23 13:26:54 BST 2007org.apache.struts2.config

DefaultPropertiesProvider

public class DefaultPropertiesProvider extends LegacyPropertiesConfigurationProvider
Loads the default properties, separate from the usual struts.properties loading

Fields Summary
Constructors Summary
Methods Summary
public voiddestroy()

    
public voidinit(com.opensymphony.xwork2.config.Configuration configuration)

    
public voidregister(com.opensymphony.xwork2.inject.ContainerBuilder builder, com.opensymphony.xwork2.util.location.LocatableProperties props)

        
        Settings defaultSettings = null;
        try {
            defaultSettings = new PropertiesSettings("org/apache/struts2/default");
        } catch (Exception e) {
            throw new ConfigurationException("Could not find or error in org/apache/struts2/default.properties", e);
        }
        
        loadSettings(props, defaultSettings);