Package com.microstrategy.utils.config
Class ConfigChangeObserver
- java.lang.Object
-
- com.microstrategy.utils.config.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 aConfigFileManager
directory, a specific ConfigFile.- Since:
- MicroStrategy Web 8.0.0
-
-
Constructor Summary
Constructors Constructor Description ConfigChangeObserver()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
update(ConfigFileManager manager, java.io.File file, EnumConfigFileChangeEvent event)
Callback when a file changes.void
update(java.util.Observable o, java.lang.Object arg)
This method should not be overridden.
-
-
-
Method Detail
-
update
public final void update(java.util.Observable o, java.lang.Object arg)
This method should not be overridden. It invokesupdate(ConfigFileManager, File, EnumConfigFileChangeEvent)
, which should be implemented accordingly.- Specified by:
update
in interfacejava.util.Observer
- Parameters:
o
- the observable object.arg
- an argument passed to thenotifyObservers
method.
-
update
public abstract void update(ConfigFileManager manager, java.io.File file, EnumConfigFileChangeEvent event)
Callback when a file changes.- Parameters:
manager
- theConfigFileManager
responsiblefile
- changed fileevent
- the type of change
-
-