Class PropertySourcesConfiguration

  • All Implemented Interfaces:
    org.apache.commons.configuration2.Configuration, org.apache.commons.configuration2.event.EventSource, org.apache.commons.configuration2.ImmutableConfiguration, org.apache.commons.configuration2.sync.SynchronizerSupport

    @Deprecated
    public class PropertySourcesConfiguration
    extends org.apache.commons.configuration2.AbstractConfiguration
    implements org.apache.commons.configuration2.Configuration
    Deprecated.
    This has been replaced with Spring-based configuration SettingsConfig and usage of Value to inject configurations. You can use @Value("${property}") as replacement.
    A PropertySources-based Apache Configuration implementation.
    Author:
    poirigui
    • Constructor Summary

      Constructors 
      Constructor Description
      PropertySourcesConfiguration​(PropertySources propertySources, org.apache.commons.configuration2.convert.DefaultListDelimiterHandler listDelimiterHandler)
      Deprecated.
       
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      protected void addPropertyDirect​(String key, Object value)
      Deprecated.
       
      protected void clearPropertyDirect​(String key)
      Deprecated.
       
      protected boolean containsKeyInternal​(String key)
      Deprecated.
       
      protected Iterator<String> getKeysInternal()
      Deprecated.
       
      protected Object getPropertyInternal​(String key)
      Deprecated.
       
      protected boolean isEmptyInternal()
      Deprecated.
       
      • Methods inherited from class org.apache.commons.configuration2.AbstractConfiguration

        addErrorLogListener, addProperty, addPropertyInternal, append, beginRead, beginWrite, clear, clearInternal, clearProperty, cloneInterpolator, containsKey, copy, endRead, endWrite, get, get, getArray, getArray, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCollection, getCollection, getConfigurationDecoder, getConversionHandler, getDouble, getDouble, getDouble, getDuration, getDuration, getEncodedString, getEncodedString, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getInterpolator, getKeys, getKeys, getKeysInternal, getList, getList, getList, getList, getListDelimiterHandler, getLogger, getLong, getLong, getLong, getProperties, getProperties, getProperty, getShort, getShort, getShort, getString, getString, getStringArray, getSynchronizer, immutableSubset, initLogger, installInterpolator, interpolate, interpolate, interpolatedConfiguration, isEmpty, isScalarValue, isThrowExceptionOnMissing, lock, setConfigurationDecoder, setConversionHandler, setDefaultLookups, setInterpolator, setListDelimiterHandler, setLogger, setParentInterpolator, setPrefixLookups, setProperty, setPropertyInternal, setSynchronizer, setThrowExceptionOnMissing, size, sizeInternal, subset, unlock
      • Methods inherited from class org.apache.commons.configuration2.event.BaseEventSource

        addEventListener, clearErrorListeners, clearEventListeners, clone, copyEventListeners, createErrorEvent, createEvent, fireError, fireEvent, getEventListenerRegistrations, getEventListeners, isDetailEvents, removeEventListener, setDetailEvents
      • Methods inherited from interface org.apache.commons.configuration2.Configuration

        addProperty, clear, clearProperty, getInterpolator, installInterpolator, setInterpolator, setProperty, subset
      • Methods inherited from interface org.apache.commons.configuration2.ImmutableConfiguration

        containsKey, get, get, getArray, getArray, getBigDecimal, getBigDecimal, getBigInteger, getBigInteger, getBoolean, getBoolean, getBoolean, getByte, getByte, getByte, getCollection, getCollection, getDouble, getDouble, getDouble, getDuration, getDuration, getEncodedString, getEncodedString, getEnum, getEnum, getFloat, getFloat, getFloat, getInt, getInt, getInteger, getKeys, getKeys, getList, getList, getList, getList, getLong, getLong, getLong, getProperties, getProperty, getShort, getShort, getShort, getString, getString, getStringArray, immutableSubset, isEmpty, size
      • Methods inherited from interface org.apache.commons.configuration2.sync.SynchronizerSupport

        getSynchronizer, lock, setSynchronizer, unlock
    • Constructor Detail

      • PropertySourcesConfiguration

        public PropertySourcesConfiguration​(PropertySources propertySources,
                                            org.apache.commons.configuration2.convert.DefaultListDelimiterHandler listDelimiterHandler)
        Deprecated.
    • Method Detail

      • addPropertyDirect

        protected void addPropertyDirect​(String key,
                                         Object value)
        Deprecated.
        Specified by:
        addPropertyDirect in class org.apache.commons.configuration2.AbstractConfiguration
      • clearPropertyDirect

        protected void clearPropertyDirect​(String key)
        Deprecated.
        Specified by:
        clearPropertyDirect in class org.apache.commons.configuration2.AbstractConfiguration
      • getKeysInternal

        protected Iterator<String> getKeysInternal()
        Deprecated.
        Specified by:
        getKeysInternal in class org.apache.commons.configuration2.AbstractConfiguration
      • getPropertyInternal

        protected Object getPropertyInternal​(String key)
        Deprecated.
        Specified by:
        getPropertyInternal in class org.apache.commons.configuration2.AbstractConfiguration
      • isEmptyInternal

        protected boolean isEmptyInternal()
        Deprecated.
        Specified by:
        isEmptyInternal in class org.apache.commons.configuration2.AbstractConfiguration
      • containsKeyInternal

        protected boolean containsKeyInternal​(String key)
        Deprecated.
        Specified by:
        containsKeyInternal in class org.apache.commons.configuration2.AbstractConfiguration