Project

General

Profile

1
package eu.dnetlib.data.download.rmi;
2

    
3
import java.util.Map;
4

    
5
import org.springframework.beans.factory.BeanFactoryAware;
6

    
7
public interface DownloadPluginEnumerator extends BeanFactoryAware {
8
	
9
	/**
10
	 * Get all beans implementing the DownloadPlugin interface, hashed by name.
11
	 * 
12
	 * @return the map of available download plugins
13
	 */
14
	Map<String, DownloadPlugin> getAll();
15
	
16
	/**
17
	 * Get all beans implementing the DownloadPlugin interface, hashed by protocol name.
18
	 * 
19
	 * @return the map of available download plugins
20
	 */
21
	Map<String, DownloadPlugin> getByProtocols();
22
	
23
}
(4-4/7)