Class ConfigurationObjectCache


  • public class ConfigurationObjectCache
    extends java.lang.Object
    Holds a configuration object and reloads it when necessary
    Version:
    $Revision: 1.4 $
    Author:
    Jorge Ferrer
    • Field Detail

      • configurationObject

        java.lang.Object configurationObject
      • reloadingStrategy

        ReloadingStrategy reloadingStrategy
      • reloadLock

        java.lang.Object reloadLock
      • log

        private static final Log log
      • confFileUrl

        private java.net.URL confFileUrl
      • confName

        private java.lang.String confName
    • Constructor Detail

      • ConfigurationObjectCache

        public ConfigurationObjectCache​(java.lang.Object confObj,
                                        java.net.URL confFileUrl,
                                        ComponentProperties properties,
                                        java.lang.String confName)
    • Method Detail

      • getConfigurationObject

        public java.lang.Object getConfigurationObject()
      • getConfName

        public java.lang.String getConfName()
      • reload

        private void reload()
      • getReloadingStrategy

        private ReloadingStrategy getReloadingStrategy()
      • setReloadingStrategy

        public void setReloadingStrategy​(ReloadingStrategy strategy)