Package org.apache.airavata.client.api

Examples of org.apache.airavata.client.api.AiravataAPIInvocationException


    public ServiceDescription getServiceDescription() throws AiravataAPIInvocationException {
        ServiceDescription desc = getAiravataAPI().getApplicationManager().getServiceDescription(getService());
        if(desc!=null){
          return desc;
        }
        throw new AiravataAPIInvocationException(new Exception("Service Description not found in registry."));
    }
View Full Code Here


        try {
          ServiceDescription disc = getRegistry().getApplicationManager().getServiceDescription(originalService);
          if(disc!=null){
            setServiceDescription(disc);
          }
          throw new AiravataAPIInvocationException(new Exception("Service Description not found in registry."));
      } catch (AiravataAPIInvocationException e) {
        e.printStackTrace();
      }
      }
    }
View Full Code Here

                  List<URI> gFacDescriptorList = getClient().getRegistryClient().getGFacURIs();
                  for (URI url : gFacDescriptorList) {
                          list.add(url);
                  }
          } catch (Exception e) {
                  throw new AiravataAPIInvocationException(e);
          }
          return list;
  }
View Full Code Here

  @Override
  public URI getGFaCURL()  throws AiravataAPIInvocationException{
          try {
                  return getClient().getClientConfiguration().getGfacURL().toURI();
          } catch (URISyntaxException e) {
                  throw new AiravataAPIInvocationException(e);
          }
  }
View Full Code Here

  @Override
  public List<URI> getWorkflowInterpreterServiceURLs()  throws AiravataAPIInvocationException{
    try {
      return getClient().getRegistryClient().getWorkflowInterpreterURIs();
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public URI getWorkflowInterpreterServiceURL()
      throws AiravataAPIInvocationException {
    try {
      return getClient().getClientConfiguration().getXbayaServiceURL().toURI();
    } catch (URISyntaxException e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public List<URI> getMessageBoxServiceURLs()
      throws AiravataAPIInvocationException {
    try {
      return new ArrayList<URI>(){{add(getClient().getRegistryClient().getMessageBoxURI());}};
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  @Override
  public URI getMessageBoxServiceURL() throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getMessageBoxURI();
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  public List<URI> getEventingServiceURLs()
      throws AiravataAPIInvocationException {
    try {
      return new ArrayList<URI>(){{add(getClient().getRegistryClient().getEventingServiceURI());}};
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
  }
View Full Code Here

  @Override
  public URI getEventingServiceURL() throws AiravataAPIInvocationException {
    try {
      return getClient().getRegistryClient().getEventingServiceURI();
    } catch (Exception e) {
      throw new AiravataAPIInvocationException(e);
    }
    }
View Full Code Here

TOP

Related Classes of org.apache.airavata.client.api.AiravataAPIInvocationException

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.