Class ServiceHub


  • public class ServiceHub
    extends Object
    A service hub responsible for creating and managing services which are used by Mojos for calling to the docker backend. The docker backend (DAO) is injected from the outside.
    Since:
    01/12/15
    Author:
    roland
    • Method Detail

      • getDockerAccess

        public DockerAccess getDockerAccess()
        Get access object for contacting the docker daemon
        Returns:
        docker access object
      • getBuildService

        public BuildService getBuildService()
        Service for doing the build against a Docker daemon
        Returns:
        get the build service
      • getQueryService

        public QueryService getQueryService()
        Get the query service for obtaining information about containers and images
        Returns:
        query service
      • getRegistryService

        public RegistryService getRegistryService()
        Get the registry service to push/pull images
        Returns:
        query service
      • getRunService

        public RunService getRunService()
        The run service is responsible for creating and starting up containers
        Returns:
        the run service
      • getVolumeService

        public VolumeService getVolumeService()
        The volume service is responsible for creating volumes
        Returns:
        the run service
      • getWatchService

        public WatchService getWatchService()
        The watch service is responsible for watching container status and rebuilding
        Returns:
        the watch service
      • getWaitService

        public WaitService getWaitService()
        The wait service is responsible on waiting on container based on several conditions
        Returns:
        the wait service
      • getArchiveService

        public ArchiveService getArchiveService()
        Serivce for creating archives
        Returns:
        the archive service
      • getMojoExecutionService

        public MojoExecutionService getMojoExecutionService()
        Get a service for executing goals on other Maven mojos
        Returns:
        service for calling other mojos