Package io.micronaut.discovery.event
Class AbstractServiceInstanceEvent
java.lang.Object
java.util.EventObject
io.micronaut.context.event.ApplicationEvent
io.micronaut.discovery.event.AbstractServiceInstanceEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
HeartbeatEvent
,ServiceReadyEvent
,ServiceStoppedEvent
- Since:
- 1.0
- Author:
- graemerocher
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionConstructs a prototypical Event. -
Method Summary
Methods inherited from class java.util.EventObject
toString
-
Constructor Details
-
AbstractServiceInstanceEvent
Constructs a prototypical Event.- Parameters:
source
- The object on which the Event initially occurred.- Throws:
IllegalArgumentException
- if source is null.
-
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-