@AutoService(value=IConfigLoaderFactory.class) public class FileConfigLoaderFactory extends Object implements IConfigLoaderFactory
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)
createIfSupported
in interface IConfigLoaderFactory
uri
- The URI which pointing to the config file location.conf
- The storm configuration.Copyright © 2023 The Apache Software Foundation. All rights reserved.