@AutoService(value=IConfigLoaderFactory.class) public class FileConfigLoaderFactory extends Object implements IConfigLoaderFactory
Factory class for FileConfigLoader.
Constructor and Description |
---|
FileConfigLoaderFactory() |
Modifier and Type | Method and Description |
---|---|
IConfigLoader |
createIfSupported(URI uri,
Map<String,Object> conf)
Create a FileConfigLoader if the scheme of the URI is “file”; else return null.
|
public IConfigLoader createIfSupported(URI uri, Map<String,Object> conf)
Create a FileConfigLoader if the scheme of the URI is “file”; else return null.
createIfSupported
in interface IConfigLoaderFactory
uri
- The URI which pointing to the config file location.conf
- The storm configuration.Copyright © 2020 The Apache Software Foundation. All rights reserved.