eu.unicore.hila.grid.emi.es
Class EmirSiteDiscovery

java.lang.Object
  extended by eu.unicore.hila.grid.emi.es.EmirSiteDiscovery
All Implemented Interfaces:
Callable<List<eu.unicore.hila.grid.Site>>

public class EmirSiteDiscovery
extends Object
implements Callable<List<eu.unicore.hila.grid.Site>>

This Callable resolves Sites from an EMIR registry given it EMIRClient. It uses the following strategy:

  1. Look for service endpoint interface name "CreateActivityService"
  2. For all entries returned, find "ActivityInfoService" and "ActivityManagementService" with the same service Id as "CreateActivityService"
  3. Combine matching services (same service Id) to a Site
    1. Author:
      bjoernh 12.07.2012 09:22:58

      Constructor Summary
      EmirSiteDiscovery(eu.emi.emir.client.EMIRClient _client, EmiEsProperties _props)
                 
       
      Method Summary
       List<eu.unicore.hila.grid.Site> call()
                 
       
      Methods inherited from class java.lang.Object
      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
       

      Constructor Detail

      EmirSiteDiscovery

      public EmirSiteDiscovery(eu.emi.emir.client.EMIRClient _client,
                               EmiEsProperties _props)
      Parameters:
      _client -
      props -
      Method Detail

      call

      public List<eu.unicore.hila.grid.Site> call()
                                           throws Exception
      Specified by:
      call in interface Callable<List<eu.unicore.hila.grid.Site>>
      Throws:
      Exception
      See Also:
      Callable.call()


      Copyright © 2010-2013 UNICORE. All Rights Reserved.