AbstractFileConfiguration class

Abstract class providing configuration-file based services.

Syntax

public class AbstractFileConfiguration

Derived classes

Remarks

Subclasses need only implement the abstract buildConfiguration method if the default caching strategy is sufficient. This class supports loading configuration data from a specific file or a resource loaded from the classloader.

This class implements SecConfiguration3 but there is no default implementation for writeNewConfiguration method. The sub classes must overwrite this method to store the specified configuration. For backwards compatibility it supplies a default implementation of the SecConfiguration2.getConfiguration(Map) method that ignores all configuration selectors except SecConfiguration2.SELECTOR_FRESH_CONFIGURATION When this selector is specified the configuration from the configuration file is returned instead of the cached copy (which is still not updated).