Package org.apache.struts2.config

# Class DefaultPropertiesProvider

java.lang.Object
org.apache.struts2.config.PropertiesConfigurationProvider
org.apache.struts2.config.DefaultPropertiesProvider

All Implemented Interfaces:
  `ConfigurationProvider`, `ContainerProvider`, `PackageProvider`

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

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `DefaultPropertiesProvider()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `register(ContainerBuilder builder, LocatableProperties props)`
  Registers beans and properties for the Container

  ### Methods inherited from class org.apache.struts2.config.PropertiesConfigurationProvider

  `destroy, init, loadPackages, loadSettings, needsReload`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### DefaultPropertiesProvider

    public DefaultPropertiesProvider()

- ## Method Details

  - ### register

    public void register(ContainerBuilder builder, LocatableProperties props) throws ConfigurationException
    Description copied from interface: `ContainerProvider`
    Registers beans and properties for the Container
    Specified by:
      `register` in interface `ContainerProvider`
    Overrides:
      `register` in class `PropertiesConfigurationProvider`
    Parameters:
      `builder` - The builder to register beans with
      `props` - The properties to register constants with
    Throws:
      `ConfigurationException` - If anything goes wrong