Package org.springframework.xd.dirt.module

Examples of org.springframework.xd.dirt.module.ArchiveModuleRegistry


    Assert.notNull(application, "application cannot be null");
    Assert.hasText(processingChain, "processingChain cannot be null or empty");
    Assert.hasText(streamName, "streamName cannot be null or empty");
    Assert.hasText(moduleResourceLocation, "moduleResourceLocation cannot be null or empty");
    this.integrationSupport = new SingleNodeIntegrationTestSupport(application);
    this.integrationSupport.addModuleRegistry(new ArchiveModuleRegistry(moduleResourceLocation));
    String streamDefinition = buildStreamDefinition(processingChain);
    stream = new StreamDefinition(streamName, streamDefinition);

    integrationSupport.createAndDeployStream(stream);
View Full Code Here


    // Explicitly set this to true since RandomConfigurationSupport disables JMX by default.
    System.setProperty("XD_JMX_ENABLED", "true");
    adminContext = application.adminContext();
    moduleRegistry = adminContext.getBean(WriteableModuleRegistry.class);
    integrationTestSupport = new SingleNodeIntegrationTestSupport(application);
    integrationTestSupport.addModuleRegistry(new ArchiveModuleRegistry("classpath:/testmodules/"));
  }
View Full Code Here

  public static synchronized void startUp() throws InterruptedException, IOException {
    RandomConfigurationSupport randomConfigSupport = new RandomConfigurationSupport();
    if (application == null) {
      application = new SingleNodeApplication().run("--transport", "local", "--analytics", "redis");
      integrationTestSupport = new SingleNodeIntegrationTestSupport(application);
      integrationTestSupport.addModuleRegistry(new ArchiveModuleRegistry("classpath:/spring-xd/xd/modules"));
      Bootstrap bootstrap = new Bootstrap(new String[] { "--port", randomConfigSupport.getAdminServerPort() });
      shell = bootstrap.getJLineShellComponent();
    }
    if (!shell.isRunning()) {
      shell.start();
View Full Code Here

TOP

Related Classes of org.springframework.xd.dirt.module.ArchiveModuleRegistry

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.