Examples of deploy()


Examples of org.apache.uima.adapter.jms.service.UIMA_Service.deploy()

    // Deploy components defined in Spring context files.
    // !!!! NOTE:This method blocks until the container is fully
    // initialized and all UIMA-AS components are successfully deployed
    // or there is a failure.
    try {
      serviceDeployer = service.deploy(contextFiles, this);
    } catch (Throwable t) {
      t.printStackTrace();
    }
    // Stop executor. It was only needed to poll AE initialization status.
    // Since deploy() completed
View Full Code Here

Examples of org.bladerunnerjs.model.App.deploy()

     
      app.populate(requirePrefix);
      logger.println(Messages.APP_CREATED_CONSOLE_MSG, appName);
      logger.println(" " + app.dir().getPath());
     
      app.deploy();
      logger.println(Messages.APP_DEPLOYED_CONSOLE_MSG, appName);
    }
    catch(InvalidNameException e) {
      throw new CommandArgumentsException(e, this);
    }
View Full Code Here

Examples of org.camunda.bpm.engine.repository.DeploymentBuilder.deploy()

        } catch (IOException e) {
          throw new ProcessEngineException("couldn't auto deploy resource '"+resource+"': "+e.getMessage(), e);
        }
      }

      deploymentBuilder.deploy();
    }
  }

  @Override
  public ProcessEngineConfigurationImpl setDataSource(DataSource dataSource) {
View Full Code Here

Examples of org.camunda.bpm.engine.repository.ProcessApplicationDeploymentBuilder.deploy()

    Collection<String> deploymentResourceNames = deploymentBuilder.getResourceNames();
    if(!deploymentResourceNames.isEmpty()) {
      logDeploymentSummary(deploymentResourceNames, deploymentName);

      // perform the process engine deployment
      deployment = deploymentBuilder.deploy();

      // add attachment
      Map<String, DeployedProcessArchive> processArchiveDeploymentMap = operationContext.getAttachment(Attachments.PROCESS_ARCHIVE_DEPLOYMENT_MAP);
      if(processArchiveDeploymentMap == null) {
        processArchiveDeploymentMap = new HashMap<String, DeployedProcessArchive>();
View Full Code Here

Examples of org.codehaus.cargo.container.deployer.Deployer.deploy()

        System.out.println("deploying war from " + warPath + " please wait...");
        DeployableFactory deployableFac = new DefaultDeployableFactory();
        WAR war = (WAR) deployableFac.createDeployable(container.getId(), warPath, DeployableType.WAR);
        DeployerFactory deployerFac = new DefaultDeployerFactory();
        Deployer deployer = deployerFac.createDeployer(getContainer(), DeployerType.INSTALLED);
        deployer.deploy(war);
        // verify that application has started before exiting method
        int cycles = 0;
        int increment = 5;
        while (true) {
            if (isDeployedWarRunning(warPath)) {
View Full Code Here

Examples of org.codehaus.loom.interfaces.Deployer.deploy()

                                                  final File file )
        throws Exception
    {
        final Deployer deployer = (Deployer)getEmbeddorComponent(
            Deployer.class.getName() );
        deployer.deploy( name, file.toURL() );
    }

    private void setupComponents()
        throws Exception
    {
View Full Code Here

Examples of org.exist.repo.Deployment.deploy()

            String target;
            if (isCalledAs("deploy")) {
                String userTarget = null;
                if (getArgumentCount() == 2)
                    userTarget = args[1].getStringValue();
                target = deployment.deploy(pkgName, context.getRepository(), userTarget);
            } else if (isCalledAs("install-and-deploy")) {
                String version = null;
                String repoURI;
                if (getArgumentCount() == 3) {
                    version = args[1].getStringValue();
View Full Code Here

Examples of org.fcrepo.utilities.install.container.Container.deploy()

        if (!_opts.getValue(InstallOptions.INSTALL_TYPE)
                .equals(InstallOptions.INSTALL_CLIENT)) {
            Container container = ContainerFactory.getContainer(_dist, _opts);
            container.install();
            container.deploy(buildWAR());
            if (_opts.getBooleanValue(InstallOptions.DEPLOY_LOCAL_SERVICES,
                                      true)) {
                deployLocalService(container, Distribution.FOP_WAR);
                deployLocalService(container, Distribution.IMAGEMANIP_WAR);
                deployLocalService(container, Distribution.SAXON_WAR);
View Full Code Here

Examples of org.glassfish.embeddable.Deployer.deploy()

                //deployer.deploy(archive.toURI());
                if (warArchive == null) {
                    LOGGER.info("warArchive is null, nothing deployed");
                } else {
                    LOGGER.info("About to deploy [" + warArchive.toURI().toString() + "] from path ["+warArchive.toURI().getPath()+ "]  to EmbeddedGlassFish instance [" + deployer.toString() + "] with context-root set to [" + this.appDescriptor.getContextPath() + "]");
                    String deployedApp = deployer.deploy(warArchive.toURI());
                    LOGGER.info("Deployed [" + deployedApp + "] to EmbeddedGlassFish instance [" + deployer.toString() + "] with context-root set to [" + this.appDescriptor.getContextPath() + "]");
                }
            } catch (org.glassfish.embeddable.GlassFishException ex) {
                LOGGER.info("Caught GlassFishException ["+ex.getMessage()+ "] trying to start the embedded server instance");
                throw new TestContainerException(ex);
View Full Code Here

Examples of org.glassfish.grizzly.servlet.WebappContext.deploy()

        } else {
            registration.setInitParameters(initParams);
        }

        HttpServer server = GrizzlyServerFactory.createHttpServer(u);
        context.deploy(server);
        return server;
    }

}
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.