Package org.servicemix.jbi.framework

Examples of org.servicemix.jbi.framework.FrameworkInstallationService


    public void execute() throws BuildException {
        if (componentName == null) {
            throw new BuildException("null componentName");
        }
        try {
            FrameworkInstallationService is = getInstallationService();
            is.unloadInstaller(componentName, delete);
        }
        catch (IOException e) {
            log.error("Caught an exception getting the installation service", e);
            throw new BuildException(e);
        }
View Full Code Here


        if (sharedLibURI == null){
            throw new BuildException("null sharedLibURI - sharedLibURI should be an archive");
        }
        if (sharedLibURI.endsWith(".zip") || sharedLibURI.endsWith(".jar")){
            try {
                FrameworkInstallationService is = getInstallationService();
                is.installSharedLibrary(sharedLibURI);
            }
            catch (IOException e) {
                log.error("Caught an exception getting the installation service",e);
                throw new BuildException(e);
            }
View Full Code Here

        if (archivePath == null){
            throw new BuildException("null archivePath - archivePath should be an archive");
        }
        if (archivePath.endsWith(".zip") || archivePath.endsWith(".jar")){
            try {
                FrameworkInstallationService is = getInstallationService();
                is.install(archivePath);
            }
            catch (IOException e) {
                log.error("Caught an exception getting the installation service",e);
                throw new BuildException(e);
            }
View Full Code Here

    public void execute() throws BuildException {
        if (sharedLibName == null) {
            throw new BuildException("null sharedLibName - sharedLibName should be an archive");
        }
        try {
            FrameworkInstallationService is = getInstallationService();
            is.uninstallSharedLibrary(sharedLibName);
        }
        catch (IOException e) {
            log.error("Caught an exception getting the installation service", e);
            throw new BuildException(e);
        }
View Full Code Here

TOP

Related Classes of org.servicemix.jbi.framework.FrameworkInstallationService

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.