
com.appcrossings.config.source.ConfigSourceFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of appconfig-client Show documentation
Show all versions of appconfig-client Show documentation
A property placeholder configurer compatible with Spring and allowing hierarchical configurations to be externalized from the application and loaded by URL
The newest version!
package com.appcrossings.config.source;
import java.util.Map;
public interface ConfigSourceFactory {
public ConfigSource newConfigSource(String name, final Map values,
final Map defaults);
/**
* Method resolving to true or false depending if the given paths are compatible with this
* source's capabilities. I.e. the method could look at the path prefix (file://, classpath:) and
* determine if it can handle this path or not.
*
* @param paths
* @return
*/
public boolean isCompatible(String path);
/**
* A unique name for this config source type
*
* @return
*/
public String getSourceName();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy