Examples of uninstallConfiguration()


Examples of org.apache.geronimo.kernel.config.ConfigurationManager.uninstallConfiguration()

                        }
                    }

                    // 4. Uninstall obsolete configurations
                    for (Artifact artifact : obsoletes) {
                        configManager.uninstallConfiguration(artifact);
                    }
                }
            }
           
            // Step 3: Start anything that's marked accordingly
View Full Code Here

Examples of org.apache.geronimo.kernel.config.ConfigurationManager.uninstallConfiguration()

                if(configurationManager.isLoaded(configId)) {
                    LifecycleResults lcresult = configurationManager.unloadConfiguration(configId);
                    addInfoMessage(actionRequest, getLocalizedString(actionRequest, "infoMsg02") + printResults(lcresult.getStopped()));
                }
            } else if (UNINSTALL_ACTION.equals(action)) {
                configurationManager.uninstallConfiguration(configId);
                addInfoMessage(actionRequest, getLocalizedString(actionRequest, "infoMsg04") + "<br />" + configId);
            } else if (RESTART_ACTION.equals(action)) {
                LifecycleResults lcresult = configurationManager.restartConfiguration(configId);
                addInfoMessage(actionRequest, getLocalizedString(actionRequest, "infoMsg03") + printResults(lcresult.getStarted()));
            } else {
View Full Code Here

Examples of org.apache.geronimo.kernel.config.ConfigurationManager.uninstallConfiguration()

        DownloadResults downloadResults = new DownloadResults();
        try {
            ConfigurationManager configurationManager = jpaNodeInfo.getConfigurationManager();
            for (JpaPluginInstance jpaPluginInstance: pluginList) {
                Artifact artifact = jpaPluginInstance.toArtifact();
                configurationManager.uninstallConfiguration(artifact);
                downloadResults.addRemovedConfigID(artifact);
            }
        } catch (IOException e) {
            downloadResults.setFailure(e);
        } catch (NoSuchConfigException e) {
View Full Code Here

Examples of org.apache.geronimo.kernel.config.ConfigurationManager.uninstallConfiguration()

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

                    try {
                        configurationManager.uninstallConfiguration(moduleID);
                        updateStatus("Module " + moduleID + " uninstalled.");
                        addModule(module);
                    } catch (NoSuchConfigException e) {
                        // module was already undeployed - just continue
                    }
View Full Code Here

Examples of org.apache.geronimo.kernel.config.ConfigurationManager.uninstallConfiguration()

        Kernel kernel = nodeInfo.newKernel();
        try {
          ConfigurationManager configurationManager = (ConfigurationManager) kernel.getGBean(ConfigurationManager.class);
            configurationManager.stopConfiguration(configId);
            configurationManager.unloadConfiguration(configId);
            configurationManager.uninstallConfiguration(configId);
        } catch (Exception e) {
            throw (IOException) new IOException("See nested").initCause(e);
        }
    }
   
View Full Code Here

Examples of org.apache.geronimo.kernel.config.ConfigurationManager.uninstallConfiguration()

                    LifecycleResults lcresult = configurationManager.unloadConfiguration(configId);
                    messageStatus = "Stopped application<br /><br />";
                    this.printResults(lcresult.getUnloaded(), action);
                }
            } else if (UNINSTALL_ACTION.equals(action)) {
                configurationManager.uninstallConfiguration(configId);
                messageStatus = "Uninstalled application<br /><br />"+configId+"<br /><br />";               
            } else if (RESTART_ACTION.equals(action)) {
                LifecycleResults lcresult = configurationManager.restartConfiguration(configId);
                messageStatus = "Restarted application<br /><br />";
                this.printResults(lcresult.getStarted(), START_ACTION);
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.