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

public class ServiceStoppedEvent extends AbstractServiceInstanceEvent
An event triggered when a ServiceInstance has shutdown and will no longer service requests.
Since:
1.0
See Also:
  • Constructor Details

    • ServiceStoppedEvent

      public ServiceStoppedEvent(ServiceInstance source)
      Constructs a prototypical Event.
      Parameters:
      source - The object on which the Event initially occurred.
      Throws:
      IllegalArgumentException - if source is null.