AvailabilityChangeEvent
ApplicationEvent sent when the AvailabilityState of the application changes.
Any application component can send such events to update the state of the application.
Author
Brian Clozel
Phillip Webb
Since
2.3.0
Parameters
<S>
the availability state type
Constructors
Link copied to clipboard
Create a new AvailabilityChangeEvent instance.
Properties
Functions
Link copied to clipboard
Link copied to clipboard
open fun <S : AvailabilityState?> publish(publisher: ApplicationEventPublisher, source: Any, state: S)
Convenience method that can be used to publish an AvailabilityChangeEvent to the given application context.