Examples of execute()


Examples of org.apache.servicemix.jbi.management.task.InstallSharedLibraryTask.execute()

        if (JBI_SHARED_LIBRARY.equals(jbiDeployable.getType())) {
            InstallSharedLibraryTask componentTask = new InstallSharedLibraryTask();
            initializeJbiTask(componentTask);
            componentTask.setFile(jbiDeployable.getFile());
            componentTask.setDeferExceptions(doDeferExceptions);
            componentTask.execute();
        } else if (JBI_SERVICE_ASSEMBLY.equals(jbiDeployable.getType())) {
            DeployServiceAssemblyTask componentTask = new DeployServiceAssemblyTask();
            initializeJbiTask(componentTask);
            componentTask.setFile(jbiDeployable.getFile());
            componentTask.setDeferExceptions(doDeferExceptions);
View Full Code Here

Examples of org.apache.servicemix.jbi.management.task.ShutDownComponentTask.execute()

            stopTask.execute();

            ShutDownComponentTask shutdownTask = new ShutDownComponentTask();
            initializeJbiTask(shutdownTask);
            shutdownTask.setName(jbiDeployable.getName());
            shutdownTask.execute();
        }
    }

    protected void deployDependency(JbiDeployableArtifact jbiDeployable,
            boolean doDeferExceptions) throws MojoExecutionException {
View Full Code Here

Examples of org.apache.servicemix.jbi.management.task.ShutDownServiceAssemblyTask.execute()

            stopTask.execute();

            ShutDownServiceAssemblyTask shutdownTask = new ShutDownServiceAssemblyTask();
            initializeJbiTask(shutdownTask);
            shutdownTask.setName(jbiDeployable.getName());
            shutdownTask.execute();
        }
        if (JBI_COMPONENT.equals(jbiDeployable.getType())) {
            StopComponentTask stopTask = new StopComponentTask();
            initializeJbiTask(stopTask);
            stopTask.setName(jbiDeployable.getName());
View Full Code Here

Examples of org.apache.servicemix.jbi.management.task.StartComponentTask.execute()

        }
        if (JBI_COMPONENT.equals(jbiDeployable.getType())) {
            StartComponentTask startTask = new StartComponentTask();
            initializeJbiTask(startTask);
            startTask.setName(jbiDeployable.getName());
            startTask.execute();
        }
    }

    protected void undeployDependency(JbiDeployableArtifact jbiDeployable) {
        getLog().info("Undeploying " + jbiDeployable.getFile());
View Full Code Here

Examples of org.apache.servicemix.jbi.management.task.StartServiceAssemblyTask.execute()

        getLog().info("Starting " + jbiDeployable.getName());
        if (JBI_SERVICE_ASSEMBLY.equals(jbiDeployable.getType())) {
            StartServiceAssemblyTask startTask = new StartServiceAssemblyTask();
            initializeJbiTask(startTask);
            startTask.setName(jbiDeployable.getName());
            startTask.execute();
        }
        if (JBI_COMPONENT.equals(jbiDeployable.getType())) {
            StartComponentTask startTask = new StartComponentTask();
            initializeJbiTask(startTask);
            startTask.setName(jbiDeployable.getName());
View Full Code Here

Examples of org.apache.servicemix.jbi.management.task.StopComponentTask.execute()

        }
        if (JBI_COMPONENT.equals(jbiDeployable.getType())) {
            StopComponentTask stopTask = new StopComponentTask();
            initializeJbiTask(stopTask);
            stopTask.setName(jbiDeployable.getName());
            stopTask.execute();

            ShutDownComponentTask shutdownTask = new ShutDownComponentTask();
            initializeJbiTask(shutdownTask);
            shutdownTask.setName(jbiDeployable.getName());
            shutdownTask.execute();
View Full Code Here

Examples of org.apache.servicemix.jbi.management.task.StopServiceAssemblyTask.execute()

        getLog().info("Stopping " + jbiDeployable.getName());
        if (JBI_SERVICE_ASSEMBLY.equals(jbiDeployable.getType())) {
            StopServiceAssemblyTask stopTask = new StopServiceAssemblyTask();
            initializeJbiTask(stopTask);
            stopTask.setName(jbiDeployable.getName());
            stopTask.execute();

            ShutDownServiceAssemblyTask shutdownTask = new ShutDownServiceAssemblyTask();
            initializeJbiTask(shutdownTask);
            shutdownTask.setName(jbiDeployable.getName());
            shutdownTask.execute();
View Full Code Here

Examples of org.apache.servicemix.jbi.management.task.UndeployServiceAssemblyTask.execute()

            sharedLibraryTask.execute();
        } else if (JBI_SERVICE_ASSEMBLY.equals(jbiDeployable.getType())) {
            UndeployServiceAssemblyTask serviceAssemblyTask = new UndeployServiceAssemblyTask();
            initializeJbiTask(serviceAssemblyTask);
            serviceAssemblyTask.setName(jbiDeployable.getName());
            serviceAssemblyTask.execute();
        }
        if (JBI_COMPONENT.equals(jbiDeployable.getType())) {
            UninstallComponentTask componentTask = new UninstallComponentTask();
            initializeJbiTask(componentTask);
            componentTask.setName(jbiDeployable.getName());
View Full Code Here

Examples of org.apache.servicemix.jbi.management.task.UninstallComponentTask.execute()

        }
        if (JBI_COMPONENT.equals(jbiDeployable.getType())) {
            UninstallComponentTask componentTask = new UninstallComponentTask();
            initializeJbiTask(componentTask);
            componentTask.setName(jbiDeployable.getName());
            componentTask.execute();
        }
    }

    protected boolean isDeployed(JbiDeployableArtifact jbiDeployable) {
        IsDeployedTask isDeployedTask = new IsDeployedTask();
View Full Code Here

Examples of org.apache.servicemix.jbi.management.task.UninstallSharedLibraryTask.execute()

        getLog().info("Undeploying " + jbiDeployable.getFile());
        if (JBI_SHARED_LIBRARY.equals(jbiDeployable.getType())) {
            UninstallSharedLibraryTask sharedLibraryTask = new UninstallSharedLibraryTask();
            initializeJbiTask(sharedLibraryTask);
            sharedLibraryTask.setName(jbiDeployable.getName());
            sharedLibraryTask.execute();
        } else if (JBI_SERVICE_ASSEMBLY.equals(jbiDeployable.getType())) {
            UndeployServiceAssemblyTask serviceAssemblyTask = new UndeployServiceAssemblyTask();
            initializeJbiTask(serviceAssemblyTask);
            serviceAssemblyTask.setName(jbiDeployable.getName());
            serviceAssemblyTask.execute();
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.