Package org.apache.airavata.xbaya.component.registry

Examples of org.apache.airavata.xbaya.component.registry.ComponentRegistryLoader


//                                engine.getConfiguration().getJcrComponentRegistry()
//                                        .getRegistry());
//                        serviceDescriptionDialog.open();
                      if (serviceDescriptionDialog.isServiceCreated()){
//                        engine.reloadRegistry();
                        ComponentRegistryLoader loader = ComponentRegistryLoader.getLoader(engine, RegistryConstants.REGISTRY_TYPE_JCR);
                        loader.load(engine.getConfiguration().getJcrComponentRegistry());
                      }
                    } catch (Exception e1) {
                        engine.getGUI().getErrorWindow().error(e1);
                    }
                }
View Full Code Here


        }
        return true;
    }

  private void reloadComponentRegistry() {
    ComponentRegistryLoader loader = ComponentRegistryLoader.getLoader(engine, RegistryConstants.REGISTRY_TYPE_JCR);
    loader.load(engine.getConfiguration().getJcrComponentRegistry());
  }
View Full Code Here

        int returnVal = fileChooser.showOpenDialog(this.engine.getGUI().getFrame().getContentPane());
        if (returnVal == JFileChooser.APPROVE_OPTION) {
            File directory = fileChooser.getSelectedFile();
            LocalComponentRegistry registry = new LocalComponentRegistry(directory);
            // move to another thread using loader.
            ComponentRegistryLoader loader = ComponentRegistryLoader.getLoader(this.engine, RegistryConstants.REGISTRY_TYPE_LOCAL);
            loader.load(registry);
        }
    }
View Full Code Here

TOP

Related Classes of org.apache.airavata.xbaya.component.registry.ComponentRegistryLoader

Copyright © 2018 www.massapicom. 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.