public class TransactionAwareEventForwarder extends Object implements EventForwarder, org.springframework.beans.factory.InitializingBean
TransactionAwareEventForwarder class.
Modifier and Type | Class and Description |
---|---|
static class |
TransactionAwareEventForwarder.PendingEventsHolder |
static class |
TransactionAwareEventForwarder.PendingEventsSynchronization |
Constructor and Description |
---|
TransactionAwareEventForwarder()
Constructor for TransactionAwareEventForwarder.
|
TransactionAwareEventForwarder(EventForwarder forwarder)
Constructor for TransactionAwareEventForwarder.
|
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet()
afterPropertiesSet
|
void |
releasePendingEventsList(List<Log> pendingEvents)
releasePendingEventsList
|
List<Log> |
requestPendingEventsList()
requestPendingEventsList
|
void |
sendNow(Event event)
Called by a service to send an event to eventd
|
void |
sendNow(Log eventLog)
sendNow
|
void |
setEventForwarder(EventForwarder eventForwarder)
setEventForwarder
|
public TransactionAwareEventForwarder()
Constructor for TransactionAwareEventForwarder.
public TransactionAwareEventForwarder(EventForwarder forwarder) throws Exception
Constructor for TransactionAwareEventForwarder.
forwarder
- a EventForwarder
object.Exception
- if any.public void setEventForwarder(EventForwarder eventForwarder)
setEventForwarder
eventForwarder
- a EventForwarder
object.public void afterPropertiesSet() throws Exception
afterPropertiesSet
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
- if any.public void sendNow(Event event)
sendNow
in interface EventForwarder
event
- a Event
object.public void sendNow(Log eventLog)
sendNow
sendNow
in interface EventForwarder
eventLog
- a Log
object.public List<Log> requestPendingEventsList()
requestPendingEventsList
List
object.Copyright © 2015. All rights reserved.