Package io.micronaut.discovery.event
Class ServiceStoppedEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.discovery.event.AbstractServiceInstanceEvent
io.micronaut.discovery.event.ServiceStoppedEvent
- All Implemented Interfaces:
Serializable
An event triggered when a
ServiceInstance
has shutdown and will no longer service requests.- Since:
- 1.0
- Author:
- graemerocher
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionServiceStoppedEvent
(ServiceInstance source) Constructs a prototypical Event. -
Method Summary
Methods inherited from class io.micronaut.discovery.event.AbstractServiceInstanceEvent
getSource
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
ServiceStoppedEvent
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-