Package org.apache.airavata.registry.api

Examples of org.apache.airavata.registry.api.AiravataRegistry.saveHostDescription()


                            for(HostDescription host:hostList){
                                // This will avoid the changes user is doing to one of the predefined Hosts during a restart of the system
                                AiravataRegistry registry = jcrComponentRegistry.getRegistry();
                if(registry.getHostDescription(host.getType().getHostName()) == null){
                                    log.info("Saving the predefined Host: " + host.getType().getHostName());
                                    registry.saveHostDescription(host);
                                }
                            }
                    } catch (RepositoryException e) {
                        e.printStackTrace()//To change body of catch statement use File | Settings | File Templates.
                    } catch (URISyntaxException e) {
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.