Package eu.dnetlib.broker.events.output
Class AlertRemoteApiDispatcher
java.lang.Object
eu.dnetlib.broker.events.output.AbstractNotificationDispatcher<Map<String,Object>>
eu.dnetlib.broker.events.output.AlertRemoteApiDispatcher
- All Implemented Interfaces:
NotificationDispatcher,Runnable,org.springframework.beans.factory.Aware,org.springframework.beans.factory.BeanNameAware
@Component
public class AlertRemoteApiDispatcher
extends AbstractNotificationDispatcher<Map<String,Object>>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMode()protected voidperformAction(Map<String, Object> params) prepareAction(Subscription subscription, Event... events) prepareAction(Subscription subscription, Map<String, Object> params) Methods inherited from class eu.dnetlib.broker.events.output.AbstractNotificationDispatcher
count, countErrors, getDispatcherName, init, lastError, resetCount, run, sendNotification, sendNotification, setBeanName, setDispatcherName
-
Constructor Details
-
AlertRemoteApiDispatcher
public AlertRemoteApiDispatcher()
-
-
Method Details
-
getMode
-
prepareAction
protected final Map<String,Object> prepareAction(Subscription subscription, Map<String, Object> params) throws Exception- Specified by:
prepareActionin classAbstractNotificationDispatcher<Map<String,Object>> - Throws:
Exception
-
prepareAction
protected Map<String,Object> prepareAction(Subscription subscription, Event... events) throws Exception - Specified by:
prepareActionin classAbstractNotificationDispatcher<Map<String,Object>> - Throws:
Exception
-
performAction
- Specified by:
performActionin classAbstractNotificationDispatcher<Map<String,Object>> - Throws:
Exception
-