Class EnsembleStartStopServiceManagerTest.Config

  • Enclosing class:
    EnsembleStartStopServiceManagerTest

    @Configuration
    @EnableConfigurationProperties(org.springframework.cloud.deployer.spi.local.LocalDeployerProperties.class)
    public static class EnsembleStartStopServiceManagerTest.Config
    extends java.lang.Object
    Configures the context, in particular through instances that are not loaded automatically by Spring in tests.
    Author:
    Holger Eichelberger, SSE
    • Constructor Summary

      Constructors 
      Constructor Description
      Config()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      org.springframework.cloud.deployer.spi.app.AppDeployer appDeployer​(org.springframework.cloud.deployer.spi.local.LocalDeployerProperties properties)
      In tests, forces the AppDeployer to have an implementation.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Config

        public Config()
    • Method Detail

      • appDeployer

        @Bean
        public org.springframework.cloud.deployer.spi.app.AppDeployer appDeployer​(org.springframework.cloud.deployer.spi.local.LocalDeployerProperties properties)
        In tests, forces the AppDeployer to have an implementation.
        Parameters:
        properties - the deployer properties needed to initialize the deployer instance
        Returns:
        the deployer instance to use