Package com.sun.appserv.addons

Examples of com.sun.appserv.addons.Configurator.unconfigure()


                case DISABLE :
                    conf.disable(cc);
                    ar.setStatus(addonName, AddonRegistry.status.DISABLE);
                    break;
                case UNCONFIGURE :
                    conf.unconfigure(cc);
                    ar.setStatus(addonName, AddonRegistry.status.UNCONFIGURE);
                    break;
                case UPGRADE :
                    ar.setStatus(oldVersion.getName(), AddonRegistry.status.REMOVE);
                    conf.upgrade(cc, oldVersion);
View Full Code Here


                ConfigurationContext cc = new ConfigurationContext();
                cc.setInstallationContext(ic);
                cc.setDomainDirectory(getDomainRoot());
                cc.setConfigurationType(type);
                try {
                    conf.unconfigure(cc);
                    ar.setStatus(addonName, AddonRegistry.status.REMOVE);
                } catch (AddonFatalException afe) {
                    getLogger().log(Level.SEVERE, "Fatal Exception while " +
                    "unconfiguring the addon " + addonName, afe);
                    throw afe;
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.