Package org.mule.umo.lifecycle

Examples of org.mule.umo.lifecycle.LifecycleException


        for (Iterator iterator = names.iterator(); iterator.hasNext();) {
            ObjectName name = (ObjectName) iterator.next();
            try {
                this.server.invoke(name, "start", new Object[0], new String[0]);
            } catch (Exception e) {
                throw new LifecycleException(e, this);
            }
        }

        UMOTransformer trans = null;
        if (configuration.endsWith(".jar")) {
            trans = new JarToSystemDeploymentBundle();
        } else {
            trans = new DirectoryToSystemDeploymentBundle();
        }
        SystemDeploymentBundle sdb = (SystemDeploymentBundle) trans.transform(configuration);
        try {
            handleDeploymentBundle(sdb);
        } catch (Exception e) {
            throw new LifecycleException(new org.mule.config.i18n.Message(Messages.FAILED_TO_START_X, descriptor.getName()), e, this);
        }
    }
View Full Code Here

TOP

Related Classes of org.mule.umo.lifecycle.LifecycleException

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.