Class SentApplicationEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.cloud.bus.event.SentApplicationEvent
- All Implemented Interfaces:
Serializable
public class SentApplicationEvent
extends org.springframework.context.ApplicationEvent
An event signalling that a remote event was sent somewhere in the system. This is not
itself a
RemoteApplicationEvent, so it isn't sent over the bus, instead it is
generated locally (possibly in response to a remote event). Applications that want to
audit remote events can listen for this one and the AckRemoteApplicationEvent
from all the consumers (the id of this event is the
ackId of the corresponding ACK.- Author:
- Dave Syer
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSentApplicationEvent(Object source, String originService, String destinationService, String id, Class<? extends RemoteApplicationEvent> type) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetId()Class<? extends RemoteApplicationEvent>getType()inthashCode()voidsetType(Class<? extends RemoteApplicationEvent> type) Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
getSource, toString