Introduction

This page explains how to access the Registry using the provided Java client. If you want to query a PSICQUIC service with Java, check this page instead.

Getting the client

You can download the client and its dependencies in the Downloads section, or use this Maven dependency in your project:

  • Released versions

    <dependency>
    <groupId>org.hupo.psi.mi.psicquic</groupId>
    <artifactId>psicquic-registry-client</artifactId>
    <version>1.1.0</version>
    </dependency>
    
  • Current version under development

    <dependency>
    <groupId>org.hupo.psi.mi.psicquic</groupId>
    <artifactId>psicquic-registry-client</artifactId>
    <version>1.1.1-SNAPSHOT</version>
    </dependency>
    

Usage

PsicquicRegistryClient registryClient = new DefaultPsicquicRegistryClient();

List<ServiceType> services = registryClient.listServices();

for (ServiceType service : services) {
    System.out.println(service.getName());
}

Examples

Some examples can be found here.

results matching ""

    No results matching ""