Class DockerComposeServicesReadyEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.boot.docker.compose.lifecycle.DockerComposeServicesReadyEvent
- All Implemented Interfaces:
Serializable
ApplicationEvent
published when Docker Compose RunningService
instances
are available. This event is published from the ApplicationPreparedEvent
listener that starts Docker Compose.- Since:
- 3.1.0
- Author:
- Moritz Halbritter, Andy Wilkinson, Phillip Webb
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Method Summary
Modifier and TypeMethodDescriptionReturn the relevant Docker Compose services that are running.Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
toString
-
Method Details
-
getSource
- Overrides:
getSource
in classEventObject
-
getRunningServices
Return the relevant Docker Compose services that are running.- Returns:
- the running services
-