Examples of deploy()


Examples of org.apache.servicemix.jbi.container.InstallSharedLibrary.deploy()

        InstallSharedLibrary isl = new InstallSharedLibrary();
        isl.setGroupId("org.apache.servicemix");
        isl.setArtifactId("servicemix-shared");
        isl.setVersion("3.2");
        isl.afterPropertiesSet();
        isl.deploy(container);

        InstallComponent ic = new InstallComponent();
        ic.setGroupId("org.apache.servicemix");
        ic.setArtifactId("servicemix-quartz");
        ic.setVersion("3.2");
View Full Code Here

Examples of org.apache.servicemix.jbi.deployer.artifacts.ServiceUnitImpl.deploy()

            // Create service unit object
            ServiceUnitImpl su = deployer.createServiceUnit(sud, suRootDir, component);
            try {
                LOGGER.debug("Deploying SU " + su.getName());
                if (isModified) {
                    su.deploy();
                }
                // Add it to the list
                sus.add(su);
            } catch (Throwable e) {
                LOGGER.error("Error deploying SU " + su.getName(), e);
View Full Code Here

Examples of org.apache.soap.server.ServiceManagerClient.deploy()

                       + host
                       + " listening on port "
                       + port);

    ServiceManagerClient smc = new ServiceManagerClient(url);
    smc.deploy(getDeploymentDescriptor());

    System.out.println("SOAP service deployed.");

    org.apache.soap.rpc.Call call = new org.apache.soap.rpc.Call();
    call.setTargetObjectURI("urn:ProxyService");
View Full Code Here

Examples of org.apache.stratos.manager.deploy.service.multitenant.MultiTenantService.deploy()

        // create
        service.create();

        //deploy the service
        service.deploy(serviceClusterProperties);

        // persist
        persist(service);

        return service;
View Full Code Here

Examples of org.apache.stratos.manager.deploy.service.multitenant.lb.MultiTenantLBService.deploy()

        // add LB category to the payload
        lbService.getPayloadData().add(CartridgeConstants.LB_CATEGORY, lbDataCtxt.getLbCategory());

        // delpoy
        lbService.deploy(lbProperties);

        // persist
        persist(lbService);
    }
View Full Code Here

Examples of org.apache.tomcat.maven.common.deployer.TomcatManager.deploy()

        throws Exception
    {
        uploadServlet.uploadedResources.clear();
        TomcatManager tomcatManager = new TomcatManager( new URL( "http://localhost:" + this.port + "/foo/bar" ) );
        TomcatManagerResponse response =
            tomcatManager.deploy( "foo", new File( getBasedir(), "src/test/resources/test.txt" ) );

        assertEquals( 200, response.getStatusCode() );

        assertEquals( 1, uploadServlet.uploadedResources.size() );
        assertEquals( "/foo/bar/deploy", uploadServlet.uploadedResources.get( 0 ).requestUri );
View Full Code Here

Examples of org.apache.tomee.embedded.Container.deploy()

                        latch.countDown();
                    }
                }
            });

            container.deploy(warFile.getName(), warFile);

            getLog().info("TomEE embedded started on " + config.getHost() + ":" + config.getHttpPort());
        } catch (Exception e) {
            getLog().error("can't start TomEE", e);
        }
View Full Code Here

Examples of org.apache.tuscany.spi.deployer.Deployer.deploy()

        ComponentDefinition<SystemCompositeImplementation> definition =
            new ComponentDefinition<SystemCompositeImplementation>(extensionName, implementation);

        Deployer deployer = (Deployer) composite.getSystemChild("deployer").getServiceInstance();
        Component component = deployer.deploy(composite, definition);

        component.start();
    }

View Full Code Here

Examples of org.apache.uima.adapter.jms.activemq.SpringContainerDeployer.deploy()

   * @throws Exception
   */
  public SpringContainerDeployer deploy(String[] springContextFiles) throws Exception {
    SpringContainerDeployer springDeployer = new SpringContainerDeployer();
    // now try to deploy the array of spring context files
    springDeployer.deploy(springContextFiles);
    // Poll the deployer for the initialization status. Wait for either successful
    // initialization or failure.
    while (!springDeployer.isInitialized() ) {
      if ( springDeployer.initializationFailed()) {
        throw new ResourceInitializationException();
View Full Code Here

Examples of org.apache.uima.adapter.jms.client.BaseUIMAAsynchronousEngine_impl.deploy()

    appCtx.put(UimaAsynchronousEngine.SaxonClasspath,
              "file:../src/main/saxon/saxon8.jar".replace('/', FS));   
   
    BaseUIMAAsynchronousEngine_impl eeUimaEngine = new BaseUIMAAsynchronousEngine_impl();
    String aSpringContainerId =
        eeUimaEngine.deploy(tempFile.getAbsolutePath(), appCtx);
   
    eeUimaEngine.undeploy(aSpringContainerId);
    eeUimaEngine.stop();
   
   
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.