Package org.alfresco.repo.event2
Class DirectEventSender
java.lang.Object
org.alfresco.repo.event2.DirectEventSender
- All Implemented Interfaces:
EventSender
- Direct Known Subclasses:
EnqueuingEventSender
Sends a message to a destination in the current thread.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.alfresco.repo.event2.EventSender
destroy, initialize, shouldParticipateInTransaction
-
Field Details
-
event2MessageProducer
-
-
Constructor Details
-
DirectEventSender
-
-
Method Details
-
accept
Description copied from interface:EventSenderAccepts a callback function creating an event and sends this event to specified destination.- Specified by:
acceptin interfaceEventSender- Parameters:
eventProducer- - callback function that creates an event
-