Package org.apache.geronimo.deployment.plugin

Examples of org.apache.geronimo.deployment.plugin.TargetImpl


        }

        try {
            ArrayList result = new ArrayList();
            for (int i = 0; i < targetList.length; i++) {
                TargetImpl target = (TargetImpl) targetList[i];
                ObjectName storeName = target.getObjectName();
                List infos = configurationManager.listConfigurations(storeName);
                for (int j = 0; j < infos.size(); j++) {
                    ConfigurationInfo info = (ConfigurationInfo) infos.get(j);
                    if (filter.accept(info)) {
                        TargetModuleID moduleID = new TargetModuleIDImpl(target, info.getConfigID().toString());
View Full Code Here


                } catch (NoSuchConfigException e) {
                    // module was already undeployed - just continue
                }

                try {
                    TargetImpl target = (TargetImpl) module.getTarget();
                    ObjectName storeName = target.getObjectName();
                    URI configID = URI.create(module.getModuleID());
                    kernel.invoke(storeName, "uninstall", new Object[]{configID}, UNINSTALL_SIG);
                    updateStatus("Module "+moduleID+" uninstalled.");
                    addModule(module);
                } catch (NoSuchConfigException e) {
View Full Code Here

                    }
                } catch (NoSuchConfigException e) {
                    // The modules isn't loaded -- that's OK
                }

                TargetImpl target = (TargetImpl) module.getTarget();
                ObjectName storeName = target.getObjectName();
                kernel.invoke(storeName, "uninstall", new Object[]{configID}, UNINSTALL_SIG);
                updateStatus("Uninstalled "+configID);

                doDeploy(deployer, module.getTarget(), false);
                updateStatus("Deployed "+configID);
View Full Code Here

TOP

Related Classes of org.apache.geronimo.deployment.plugin.TargetImpl

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.