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:
  • Method Details

    • getSource

      public org.springframework.context.ApplicationContext getSource()
      Overrides:
      getSource in class EventObject
    • getRunningServices

      public List<RunningService> getRunningServices()
      Return the relevant docker compose services that are running.
      Returns:
      the running services