use of co.cask.cdap.file.dropzone.config.FileDropZoneConfiguration in project cdap-ingest by caskdata.
the class PollingServiceManager method getConfiguration.
/**
* Return DropZone configuration
*
* @return DropZone configuration
* @throws ConfigurationLoadingException if configuration load failed
*/
private FileDropZoneConfiguration getConfiguration() throws ConfigurationLoadingException {
ConfigurationLoader loader = new ConfigurationLoaderImpl();
Configuration configuration = loader.load(confFile);
return new FileDropZoneConfigurationImpl(configuration.getProperties());
}
Aggregations