ConfigFileStore

The {@link oaj.config.store.ConfigFileStore} is the typical store used for configuration files. It provides the following configurable settings:

Example:

// Create a config store with a watcher thread and high sensitivity. ConfigFileStore fileStore = ConfigFileStore.create().directory("configs").useWatcher().watcherSensitivity(HIGH).build(); // Create a config using the store defined above. Config config = Config.create("MyConfig.cfg").store(fileStore).build();