Package io.micronaut.discovery.event
Class ServiceReadyEvent
- java.lang.Object
-
- java.util.EventObject
-
- io.micronaut.context.event.ApplicationEvent
-
- io.micronaut.discovery.event.AbstractServiceInstanceEvent
-
- io.micronaut.discovery.event.ServiceReadyEvent
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceReadyEvent extends AbstractServiceInstanceEvent
An event fired when a service has completed starting and is ready to service requests.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ServiceReadyEvent(ServiceInstance source)
Constructs a prototypical Event.
-
Method Summary
-
Methods inherited from class io.micronaut.discovery.event.AbstractServiceInstanceEvent
getSource
-
-
-
-
Constructor Detail
-
ServiceReadyEvent
public ServiceReadyEvent(ServiceInstance source)
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
java.lang.IllegalArgumentException
- if source is null.
-
-