Package org.apache.servicemix.jbi.framework.AutoDeploymentService

Examples of org.apache.servicemix.jbi.framework.AutoDeploymentService.ArchiveEntry


     *
     * @jmx.managed-operation
     */
    public void installArchive(String archive) {
        try {
            ArchiveEntry entry = jbiContainer.getAutoDeploymentService().updateExternalArchive(archive, true);
            archiveMap.put(archive, entry);
        } catch (DeploymentException e) {
            throw new RuntimeException(
                    "ServiceMix JBIContainer unable to install archive ["
                    + archive + "]", e);
View Full Code Here


     *
     * @jmx.managed-operation
     */
    public void uninstallArchive(String archive) {
        try {
            ArchiveEntry entry = (ArchiveEntry) archiveMap.get(archive);
            if (entry == null) {
                throw new DeploymentException("No service assembly " + archive + " registered!");
            }
            jbiContainer.getAutoDeploymentService().removeArchive(entry);
        } catch (DeploymentException e) {
View Full Code Here

TOP

Related Classes of org.apache.servicemix.jbi.framework.AutoDeploymentService.ArchiveEntry

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.