Package org.springframework.xd.dirt.module.store

Examples of org.springframework.xd.dirt.module.store.ZooKeeperModuleDependencyRepository


    return new ZooKeeperStreamDefinitionRepository(zooKeeperConnection(), moduleDependencyRepository());
  }

  @Bean
  public ModuleDependencyRepository moduleDependencyRepository() {
    return new ZooKeeperModuleDependencyRepository(zooKeeperConnection());
  }
View Full Code Here


  }

  @Before
  public void createRepository() throws Exception {
    this.repository = new ZooKeeperStreamDefinitionRepository(zkConnection,
        new ZooKeeperModuleDependencyRepository(zkConnection));
    repository.afterPropertiesSet();
    for (int i = 0; !zkConnection.isConnected() && i < 100; i++) {
      Thread.sleep(100);
    }
  }
View Full Code Here

      return new ResourceModuleRegistry("file:../modules");
    }

    @Bean
    public ModuleDependencyRepository moduleDependencyRepository() {
      return new ZooKeeperModuleDependencyRepository(zooKeeperConnection());
    }
View Full Code Here

  }

  @Override
  @Bean
  public ModuleDependencyRepository moduleDependencyRepository() {
    return new ZooKeeperModuleDependencyRepository(zooKeeperConnection);
  }
View Full Code Here

TOP

Related Classes of org.springframework.xd.dirt.module.store.ZooKeeperModuleDependencyRepository

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.