Interface DynamicConfigurationFactory

All Known Implementing Classes:
DirectoryDynamicConfigurationFactory, MergingDynamicConfigurationFactory

public interface DynamicConfigurationFactory
Interface for classes which create DynamicConfiguration instances. The factory enables dynamic configurations where the definition of the dynamic configuration, namely its source builders and triggers vary based on data available at runtime. This is accomplished by creating a new dynamic configuration instance. The specific sources and triggers included in the dynamic configuration are left up to the specific implementation of this interface as is the interpretation or mapping of keys. The builder is supplied to the factory's create method in order to allow the caller to set any non-source/trigger specific fields on the builder prior to creation of the new dynamic configuration instance.
Author:
Ville Koskela (ville dot koskela at inscopemetrics dot io)