Class DockerComposeServicesReadyEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
org.springframework.boot.docker.compose.lifecycle.DockerComposeServicesReadyEvent
- All Implemented Interfaces:
Serializable
public class DockerComposeServicesReadyEvent
extends org.springframework.context.ApplicationEvent
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
- 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.org.springframework.context.ApplicationContextMethods inherited from class org.springframework.context.ApplicationEvent
getTimestampMethods inherited from class java.util.EventObject
toString
-
Method Details
-
getSource
public org.springframework.context.ApplicationContext getSource()- Overrides:
getSourcein classEventObject
-
getRunningServices
Return the relevant docker compose services that are running.- Returns:
- the running services
-