Class OnRevokedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.integration.leader.event.AbstractLeaderEvent
org.springframework.integration.leader.event.OnRevokedEvent
- All Implemented Interfaces:
Serializable
public class OnRevokedEvent extends AbstractLeaderEvent
Generic event representing that leader has been revoked.
- Author:
- Janne Valkealahti, Gary Russell
- See Also:
- Serialized Form
-
Field Summary
-
Constructor Summary
Constructors Constructor Description OnRevokedEvent(Object source, Context context, String role)
Instantiates a new revoked event. -
Method Summary
Methods inherited from class org.springframework.integration.leader.event.AbstractLeaderEvent
getContext, getRole, toString
-
Constructor Details
-
OnRevokedEvent
Instantiates a new revoked event.- Parameters:
source
- the component that published the event (nevernull
)context
- the context associated with this eventrole
- the role of the leader
-