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

Examples of org.apache.airavata.xbaya.component.registry.ComponentRegistryLoader.load()


//                                        .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());
  }
   
    private void loadDescriptors() throws AiravataAPIInvocationException {
      try {
        //allow the registry cache to update
View Full Code Here

        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
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.