Package org.ogce.gfac.exception

Examples of org.ogce.gfac.exception.GfacException


  public void registerAppDesc(String appDescAsStr) throws GfacException {
    try {
      xregistryClient.registerAppDesc(appDescAsStr);
    } catch (XRegistryClientException e) {
      throw new GfacException(e, FaultCode.ErrorAtDependentService);
    }
  }
View Full Code Here


  public void registerConcreteWsdl(String wsdlAsStr, int lifetimeAsSeconds) throws GfacException {
    try {
      xregistryClient.registerConcreteWsdl(wsdlAsStr, lifetimeAsSeconds);
    } catch (XRegistryClientException e) {
      throw new GfacException(e, FaultCode.ErrorAtDependentService);
    }
  }
View Full Code Here

  public void registerOutputFiles(QName resourceId, String resourceName, String resourceType, String resourceDesc, String resourceDocument, String resourceParentTypedID, String owner) throws GfacException {
    try {
      xregistryClient.registerOGCEResource(resourceId, resourceName, resourceType, resourceDesc, resourceDocument, resourceParentTypedID, owner);
    } catch (XRegistryClientException e) {
      throw new GfacException(e, FaultCode.ErrorAtDependentService);
    }
  }
View Full Code Here

  public void registerHostDesc(String hostDescAsStr) throws GfacException {
    try {
      xregistryClient.registerHostDesc(hostDescAsStr);
    } catch (XRegistryClientException e) {
      throw new GfacException(e, FaultCode.ErrorAtDependentService);
    }
  }
View Full Code Here

  public void registerServiceMap(String serviceMapAsStr, String abstractWsdlAsString) throws GfacException {
    try {
      xregistryClient.registerServiceDesc(serviceMapAsStr, abstractWsdlAsString);
    } catch (XRegistryClientException e) {
      throw new GfacException(e, FaultCode.ErrorAtDependentService);
    }
  }
View Full Code Here

  public void removeAppDesc(String appQName, String hostName) throws GfacException {
    try {
      xregistryClient.removeAppDesc(QName.valueOf(appQName), hostName);
    } catch (XRegistryClientException e) {
      throw new GfacException(e, FaultCode.ErrorAtDependentService);
    }
  }
View Full Code Here

  public void removeConcreteWsdl(String wsdlQName) throws GfacException {
    try {
      xregistryClient.removeConcreteWsdl(QName.valueOf(wsdlQName));
    } catch (XRegistryClientException e) {
      throw new GfacException(e, FaultCode.ErrorAtDependentService);
    }
  }
View Full Code Here

  public void removeHostDesc(String hostName) throws GfacException {
    try {
      xregistryClient.removeHostDesc(hostName);
    } catch (XRegistryClientException e) {
      throw new GfacException(e, FaultCode.ErrorAtDependentService);
    }
  }
View Full Code Here

  public void removeServiceMap(String serviceQName) throws GfacException {
    try {
      xregistryClient.removeServiceDesc(QName.valueOf(serviceQName));
    } catch (XRegistryClientException e) {
      throw new GfacException(e, FaultCode.ErrorAtDependentService);
    }
  }
View Full Code Here

  public boolean isAuthorizedToAcsses(String resourceID, String actor, String action) throws GfacException {
    try {
      return xregistryClient.isAuthorizedToAcsses(null, resourceID, actor, action);
    } catch (XRegistryClientException e) {
      throw new GfacException(e, FaultCode.ErrorAtDependentService);
    }
  }
View Full Code Here

TOP

Related Classes of org.ogce.gfac.exception.GfacException

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.