Package org.apache.geronimo.kernel.config

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


                            // the module is not running
                        } else {
                            throw e;
                        }
                    }
                    configurationManager.unload(moduleID);
                    updateStatus("Module "+moduleID+" unloaded.");
                } catch (InternalKernelException e) {
                    // this is cause by the kernel being already shutdown
                } catch (NoSuchConfigException e) {
                    // module was already undeployed - just continue
View Full Code Here


                    } else {
                        System.out.println("Unmatched name '"+clean(e.getGBeanName().getKeyProperty("name"))+"'");
                        throw e;
                    }
                }
                configurationManager.unload(moduleID);
                addModule(module);
            }
            if(getModuleCount() < modules.length) {
                fail("Some modules could not be stopped");
            } else {
View Full Code Here

                    if(e.getGBeanName().equals(configName)) {
                        // The module isn't running -- that's OK
                    } else throw e;
                }
                try {
                    configurationManager.unload(configID);
                    updateStatus("Unloaded "+configID);
                } catch(InternalKernelException e) {
                    Exception cause = (Exception)e.getCause();
                    if(cause instanceof NoSuchConfigException) {
                        // The modules isn't loaded -- that's OK
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.