Package org.codehaus.cargo.container.deployable

Examples of org.codehaus.cargo.container.deployable.Deployable


     *
     * @param warLocation the war location
     * @return a container ready to start
     */
    protected InstalledLocalContainer getContainer(final String warLocation) {
        Deployable war = new WAR(warLocation);
        LocalConfiguration configuration = new Tomcat6xStandaloneLocalConfiguration(
                "target/tomcat6x");
        configuration.addDeployable(war);
        InstalledLocalContainer webapp = new Tomcat6xInstalledLocalContainer(
                configuration);
View Full Code Here


        System.out.println("[INFO] container id: " + containerId);

        // Construct the war, using the container id and the path to the war file
        String deployablePath = System.getProperty("cargo.deployable");
        System.out.println("[INFO] deployable: " + deployablePath);
        Deployable war = new DefaultDeployableFactory().createDeployable(
                containerId, deployablePath, DeployableType.WAR);

        // Container configuration
        ConfigurationFactory configurationFactory = new DefaultConfigurationFactory();
View Full Code Here

{

   protected void execute(JBossJMXDeployer deployer)
   {
      //
      Deployable deployable = new EAR(getFile().getAbsolutePath());

      //
      deployer.undeploy(deployable);
   }
View Full Code Here

   }

   protected void execute(JBossJMXDeployer deployer)
   {
      //
      Deployable deployable = new EAR(getFile().getAbsolutePath());

      //
      deployer.deploy(deployable);
   }
View Full Code Here

        System.out.println("[INFO] container id: " + containerId);

        // Construct the war, using the container id and the path to the war file
        String deployablePath = System.getProperty("cargo.deployable");
        System.out.println("[INFO] deployable: " + deployablePath);
        Deployable war = new DefaultDeployableFactory().createDeployable(
                containerId,
                deployablePath,
                DeployableType.WAR);

        // Container configuration
View Full Code Here

     * @param deployableType
     *            The type of deployable.
     */
    private void addDeployable(final LocalConfiguration configuration, final String path, final DeployableType deployableType) {
        // retrieve deployable file
        final Deployable deployable = new DefaultDeployableFactory().createDeployable(configurationName, path, deployableType);

        // add deployable
        configuration.addDeployable(deployable);
    }
View Full Code Here

     * @param deployableType
     *            The type of deployable.
     */
    private void addDeployable(final LocalConfiguration configuration, final String path, final DeployableType deployableType) {
        // retrieve deployable file
        final Deployable deployable = new DefaultDeployableFactory().createDeployable("jetty", path, deployableType);

        // add deployable
        configuration.addDeployable(deployable);
    }
View Full Code Here

     * @param deployableType
     *            The type of deployable.
     */
    private void addDeployable(final LocalConfiguration configuration, final String path, final DeployableType deployableType) {
        // retrieve deployable file
        final Deployable deployable = new DefaultDeployableFactory().createDeployable("jetty", path, deployableType);

        // add deployable
        configuration.addDeployable(deployable);
    }
View Full Code Here

     * @param deployableType
     *            The type of deployable.
     */
    private void addDeployable(final LocalConfiguration configuration, final String path, final DeployableType deployableType) {
        // retrieve deployable file
        final Deployable deployable = new DefaultDeployableFactory().createDeployable(configurationName, path, deployableType);

        // add deployable
        configuration.addDeployable(deployable);
    }
View Full Code Here

     * @param deployableType
     *            The type of deployable.
     */
    private void addDeployable(final LocalConfiguration configuration, final String path, final DeployableType deployableType) {
        // retrieve deployable file
        final Deployable deployable = new DefaultDeployableFactory().createDeployable(configurationName, path, deployableType);

        // add deployable
        configuration.addDeployable(deployable);
    }
View Full Code Here

TOP

Related Classes of org.codehaus.cargo.container.deployable.Deployable

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.