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

com.netflix.archaius.api.PropertyRepository Maven / Gradle / Ivy

package com.netflix.archaius.api;

import java.lang.reflect.Type;

public interface PropertyRepository {
    /**
     * Fetch a property of a specific type.  A {@link Property} object is returned regardless of
     * whether a key for it exists in the backing configuration.  The {@link Property} is attached
     * to a dynamic configuration system and will have its value automatically updated
     * whenever the backing configuration is updated.  Fallback properties and default values
     * may be specified through the {@link Property} API.
     * 
     * @param key   Property name
     * @param type  Type of property value
     * @return
     */
     Property get(String key, Class type);

     Property get(String key, Type type);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy