public class CollectorPluginEnumerator extends Object implements org.springframework.beans.factory.BeanFactoryAware
| Constructor and Description |
|---|
CollectorPluginEnumerator() |
| Modifier and Type | Method and Description |
|---|---|
eu.dnetlib.data.collector.plugin.CollectorPlugin |
get(String protocol)
Get given CollectorPlugin or throws exception.
|
Collection<eu.dnetlib.data.collector.plugin.CollectorPlugin> |
getAll()
Get all beans implementing the CollectorPlugin interface.
|
org.springframework.beans.factory.ListableBeanFactory |
getBeanFactory() |
void |
setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory) |
public Collection<eu.dnetlib.data.collector.plugin.CollectorPlugin> getAll()
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
throws org.springframework.beans.BeansException
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAwareorg.springframework.beans.BeansExceptionpublic org.springframework.beans.factory.ListableBeanFactory getBeanFactory()
public eu.dnetlib.data.collector.plugin.CollectorPlugin get(String protocol) throws eu.dnetlib.data.collector.rmi.CollectorServiceException
protocol - the given protocoleu.dnetlib.data.collector.rmi.CollectorServiceException - when no suitable plugin is foundCopyright © 2022. All rights reserved.