dnet50/modules/dnet-core-components/trunk/src/main/java/eu/dnetlib/rmi/data/DownloadPluginEnumerator.java @ 41784
1 |
package eu.dnetlib.rmi.data; |
---|---|
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.
|
11 |
*
|
12 |
* @return
|
13 |
*/
|
14 |
Map<String, DownloadPlugin> getAll(); |
15 |
|
16 |
/**
|
17 |
* Get all beans implementing the DownloadPlugin interface, hashed by name.
|
18 |
*
|
19 |
* @return
|
20 |
*/
|
21 |
Map<String, DownloadPlugin> getByProtocols(); |
22 |
|
23 |
}
|