Package org.apache.storm.scheduler.utils
Interface IConfigLoaderFactory
-
- All Known Implementing Classes:
ArtifactoryConfigLoaderFactory
,FileConfigLoaderFactory
public interface IConfigLoaderFactory
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IConfigLoader
createIfSupported(URI uri, Map<String,Object> conf)
Create an IConfigLoader implementation if the scheme of the URI is supported; otherwise returns null.
-
-
-
Method Detail
-
createIfSupported
IConfigLoader createIfSupported(URI uri, Map<String,Object> conf)
Create an IConfigLoader implementation if the scheme of the URI is supported; otherwise returns null.- Parameters:
uri
- The URI of the config location.conf
- The storm configuration.- Returns:
- An concrete implementation if the scheme is supported, or null if not.
-
-