Package com.sun.enterprise.config.serverbeans

Examples of com.sun.enterprise.config.serverbeans.Servers.removeServer()


                //configuration after removing the server instance (since a configuration
                //can only be deleted if it is unreferenced). Unfortunately, if
                //this fails, we leave an unreferenced standalone configurtion.               
                String configName = server.getConfigRef();
                // remove the server
                servers.removeServer(server, OVERWRITE);           
                //remove the standalone configuration               
                //FIXTHIS: One issue is that the call below will result in a call to flushAll
                //which is also called below. This must be taken into account when we
                //figure out the notification story.
                getConfigsConfigBean().deleteConfiguration(configName);
View Full Code Here


                    //If the instance is clustered, the we must remove the server refs from
                    //the cluster.
                    deleteClusterReferences(serverName);
                }               
                //Remove the server
                servers.removeServer(server, OVERWRITE);    
            }
           
            //Remove our connction to the server instance
            InstanceRegistry.removeInstanceConnection(serverName);
           
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.