Class ConfigChangeObserver

  • All Implemented Interfaces:
    java.util.Observer
    Direct Known Subclasses:
    LoggerConfigObserver

    public abstract class ConfigChangeObserver
    extends java.lang.Object
    implements java.util.Observer
    Observer callback for clients interested in changes to either a ConfigFileManager directory, a specific ConfigFile.
    Since:
    MicroStrategy Web 8.0.0
    • Constructor Detail

      • ConfigChangeObserver

        public ConfigChangeObserver()
    • Method Detail

      • update

        public final void update​(java.util.Observable o,
                                 java.lang.Object arg)
        This method should not be overridden. It invokes update(ConfigFileManager, File, EnumConfigFileChangeEvent), which should be implemented accordingly.
        Specified by:
        update in interface java.util.Observer
        Parameters:
        o - the observable object.
        arg - an argument passed to the notifyObservers method.
      • update

        public abstract void update​(ConfigFileManager manager,
                                    java.io.File file,
                                    EnumConfigFileChangeEvent event)
        Callback when a file changes.
        Parameters:
        manager - the ConfigFileManager responsible
        file - changed file
        event - the type of change