Package org.apache.storm.scheduler.utils
Interface IConfigLoaderFactory
- All Known Implementing Classes:
ArtifactoryConfigLoaderFactory
,FileConfigLoaderFactory
public interface IConfigLoaderFactory
-
Method Summary
Modifier and TypeMethodDescriptioncreateIfSupported
(URI uri, Map<String, Object> conf) Create an IConfigLoader implementation if the scheme of the URI is supported; otherwise returns null.
-
Method Details
-
createIfSupported
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.
-