All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.togglz.archaius.repository.ArchaiusStateRepository Maven / Gradle / Ivy

There is a newer version: 2.7.2
Show newest version
package org.togglz.archaius.repository;

import org.togglz.core.repository.property.PropertyBasedStateRepository;

/**
 * 

* A {@link StateRepository} that gets its values from the Netflix Archaius framework. *

*

* See {@link PropertyBasedStateRepository} for information on the format of the property keys and * values. The {@link DefaultReadOnlyArchaiusPropertySource} is used to manage them * with a default Archaius configuration; if you're using a non-default configuration you might * consider using {@code PropertyBasedStateRepository}, passing in your own implementation * of {@code DefaultReadOnlyArchaiusPropertySource} that overrides * {@link DefaultReadOnlyArchaiusPropertySource#getKeysStartingWith} to inspect the correct * backing store type. *

*/ public class ArchaiusStateRepository extends PropertyBasedStateRepository { public ArchaiusStateRepository() { super(new DefaultReadOnlyArchaiusPropertySource()); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy