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:
java.io.Serializable
public class ServiceStoppedEvent extends AbstractServiceInstanceEvent
An event triggered when aServiceInstance
has shutdown and will no longer service requests.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceStoppedEvent(ServiceInstance source)
Constructs a prototypical Event.
-
Method Summary
-
Methods inherited from class io.micronaut.discovery.event.AbstractServiceInstanceEvent
getSource
-
-
-
-
Constructor Detail
-
ServiceStoppedEvent
public ServiceStoppedEvent(ServiceInstance source)
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
java.lang.IllegalArgumentException
- if source is null.
-
-