Class SecretLeaseEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.vault.core.lease.event.SecretLeaseEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AfterSecretLeaseRenewedEvent,AfterSecretLeaseRevocationEvent,BeforeSecretLeaseRevocationEvent,SecretLeaseCreatedEvent,SecretLeaseErrorEvent,SecretLeaseExpiredEvent,SecretNotFoundEvent
Abstract base class for
Lease based events associated with
RequestedSecret.- Author:
- Mark Paluch
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedSecretLeaseEvent(RequestedSecret requestedSecret, Lease lease) -
Method Summary
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
toString
-
Constructor Details
-
SecretLeaseEvent
- Parameters:
requestedSecret- must not be null.lease- can be null.
-
-
Method Details
-
getSource
- Overrides:
getSourcein classEventObject
-
getLease
-