Class AbstractLeaderEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.leader.event.AbstractLeaderEvent
- All Implemented Interfaces:
- Serializable
- Direct Known Subclasses:
- OnFailedToAcquireMutexEvent,- OnGrantedEvent,- OnRevokedEvent
Base 
ApplicationEvent class for leader based events. All custom event
 classes should be derived from this class.- Author:
- Janne Valkealahti, Gary Russell
- See Also:
- 
Field SummaryFields inherited from class java.util.EventObjectsource
- 
Constructor SummaryConstructorsConstructorDescriptionAbstractLeaderEvent(Object source) Create a new ApplicationEvent.AbstractLeaderEvent(Object source, Context context, String role) Create a new ApplicationEvent.
- 
Method SummaryMethods inherited from class org.springframework.context.ApplicationEventgetTimestampMethods inherited from class java.util.EventObjectgetSource
- 
Constructor Details- 
AbstractLeaderEventCreate a new ApplicationEvent.- Parameters:
- source- the component that published the event (never- null)
 
- 
AbstractLeaderEvent
 
- 
- 
Method Details- 
getContext
- 
getRole
- 
toString- Overrides:
- toStringin class- EventObject
 
 
-