Class AbstractConfiguration

    • Constructor Detail

      • AbstractConfiguration

        public AbstractConfiguration()
        Default setup.
    • Method Detail

      • setProperty

        public void setProperty​(String name,
                                String value)
        A property is a configuration value for the container (eg the web port, the number of executing threads, etc).
        Specified by:
        setProperty in interface Configuration
        Parameters:
        name - the property name
        value - the property value, setting to null will remove the associated property from the internal map.
      • getPropertyValueIgnoreSystemProperties

        protected String getPropertyValueIgnoreSystemProperties​(String name)
        Parameters:
        name - the property name for which to return the value
        Returns:
        the property's value, ignoring any system properties
        See Also:
        setProperty(String, String)
      • verify

        public void verify()
        Verify that the configuration is valid. The checks to be performed may vay whether this is standalone or existing configuration. This method should also be used to verify that the configuration properties specified by the user are valid and that the required ones are set.
        Specified by:
        verify in interface ContainerConfiguration