Examples of OrrClientConfiguration


Examples of org.mmisw.orrclient.OrrClientConfiguration

    String mailPassword = PortalConfig.Prop.MAIL_PASSWORD.getValue();
   
    portalBaseInfo = _prepareBaseInfo();
   
    // create OrrClientConfiguration and initialize orrclient library:
    OrrClientConfiguration occ = new OrrClientConfiguration();
    occ.setOntServiceUrl(ontServiceUrl);
    occ.setPreviewDirectory(previewDirectory);
    occ.setVoc2rdfDirectory(voc2rdfDirectory);
    occ.setMailUser(mailUser);
    occ.setMailPassword(mailPassword);
    orrClient = IOrrClient.Manager.init(occ);
   
    log.info("Using: " +orrClient.getAppInfo());
  }
View Full Code Here

Examples of org.mmisw.orrclient.OrrClientConfiguration

   * @return A library interface object.
   * @throws Exception if an error occurs
   */
  public static IOrrClient init(OrrClientConfiguration config) throws Exception {
    if ( config == null ) {
      config = new OrrClientConfiguration();
    }
    _instance = new OrrClientImpl_trailingFragment(config);
    return _instance;
  }
View Full Code Here

Examples of org.mmisw.orrclient.OrrClientConfiguration

 
  private final String uniqueBaseName = _createUniqueBaseName();

 
  private static OrrClientConfiguration _config() {
    OrrClientConfiguration config = IOrrClient.Manager.getOrrClient().getConfiguration();
    return config;
  }
View Full Code Here

Examples of org.mmisw.orrclient.OrrClientConfiguration

   * @return A library interface object.
   * @throws Exception if an error occurs
   */
  public static IOrrClient init(OrrClientConfiguration config) throws Exception {
    if ( config == null ) {
      config = new OrrClientConfiguration();
    }
    _instance = new OrrClientImpl(config);
    return _instance;
  }
View Full Code Here

Examples of org.mmisw.orrclient.OrrClientConfiguration

      String ontServiceUrl,
      String bioportalRestUrl, String ontologyUri, String username, String password
  ) throws Exception {
   
   
    OrrClientConfiguration config = new  OrrClientConfiguration();
    config.setOntServiceUrl(ontServiceUrl);
    config.setPreviewDirectory(PREVIEW_DIRECTORY);
    IOrrClient orrClient = IOrrClient.Manager.init(config);
    orrClient.getMetadataBaseInfo(false, resourceTypeClassUri, authorityClassUri);
   
   
    RegisteredOntologyInfo registeredOntologyInfo = orrClient.getOntologyInfo(ontologyUri);
View Full Code Here

Examples of org.mmisw.orrclient.OrrClientConfiguration

      result.setError(res);
    }
  }
 
  private static OrrClientConfiguration _config() {
    OrrClientConfiguration config = IOrrClient.Manager.getOrrClient().getConfiguration();
    return config;
  }
View Full Code Here

Examples of org.mmisw.orrclient.OrrClientConfiguration

   * @throws Exception
   */
  private void _testRegister(String filename, String prefix) throws Exception {
   
    log.info("=============== INIT OrrClient =================");
    OrrClientConfiguration config = new  OrrClientConfiguration();
    config.setOntServiceUrl(ONT_SERVICE_URL);
    config.setPreviewDirectory(PREVIEW_DIRECTORY);
    IOrrClient orrClient = IOrrClient.Manager.init(config);
    orrClient.getMetadataBaseInfo(false, resourceTypeClassUri, authorityClassUri);
   
   
    log.info("=============== GET getTempOntologyInfo =================");
View Full Code Here

Examples of org.mmisw.orrclient.OrrClientConfiguration

    }
   
  }
 
  private static OrrClientConfiguration _config() {
    OrrClientConfiguration config = IOrrClient.Manager.getOrrClient().getConfiguration();
    return config;
  }
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.