public class DownloadServiceImpl
extends eu.dnetlib.enabling.tools.AbstractBaseService
implements eu.dnetlib.data.download.rmi.DownloadService
| Modifier and Type | Field and Description |
|---|---|
static eu.dnetlib.data.download.rmi.DownloadItem |
END_QUEUE
The Constant END_QUEUE.
|
static String |
END_QUEUE_STRING |
| Constructor and Description |
|---|
DownloadServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
downloadFromResultSet(W3CEndpointReference resultSet,
String plugin,
String objectStoreID,
String protocol,
String mimeType) |
DownloadServiceFeeder |
getDownloadfeeder() |
eu.dnetlib.enabling.tools.blackboard.NotificationHandler |
getNotificationHandler() |
List<String> |
listPlugins() |
void |
notify(String subscriptionId,
String topic,
String isId,
String message) |
void |
setDownloadfeeder(DownloadServiceFeeder downloadfeeder) |
void |
setNotificationHandler(eu.dnetlib.enabling.tools.blackboard.NotificationHandler notificationHandler) |
void |
start() |
identify, isRunning, stoppublic static final eu.dnetlib.data.download.rmi.DownloadItem END_QUEUE
public static final String END_QUEUE_STRING
public void downloadFromResultSet(W3CEndpointReference resultSet, String plugin, String objectStoreID, String protocol, String mimeType) throws eu.dnetlib.data.download.rmi.DownloadServiceException
downloadFromResultSet in interface eu.dnetlib.data.download.rmi.DownloadServiceeu.dnetlib.data.download.rmi.DownloadServiceExceptionpublic void notify(String subscriptionId, String topic, String isId, String message)
notify in interface eu.dnetlib.common.rmi.BaseServicenotify in class eu.dnetlib.enabling.tools.AbstractBaseServiceAbstractBaseService.notify(java.lang.String, java.lang.String, java.lang.String, java.lang.String)public void start()
start in interface eu.dnetlib.common.rmi.BaseServicestart in interface org.springframework.context.Lifecyclestart in class eu.dnetlib.enabling.tools.AbstractBaseServicepublic DownloadServiceFeeder getDownloadfeeder()
public void setDownloadfeeder(DownloadServiceFeeder downloadfeeder)
downloadfeeder - the downloadfeeder to setpublic eu.dnetlib.enabling.tools.blackboard.NotificationHandler getNotificationHandler()
public void setNotificationHandler(eu.dnetlib.enabling.tools.blackboard.NotificationHandler notificationHandler)
notificationHandler - the notificationHandler to setCopyright © 2020. All rights reserved.