org.gcube.application.aquamaps.enabling.Impl.crawler
Class ServiceCrawler

java.lang.Object
  extended by org.gcube.application.aquamaps.enabling.Impl.crawler.ISCrawler
      extended by org.gcube.application.aquamaps.enabling.Impl.crawler.ServiceCrawler

public class ServiceCrawler
extends ISCrawler


Field Summary
 
Fields inherited from class org.gcube.application.aquamaps.enabling.Impl.crawler.ISCrawler
isClient, logger, scope
 
Constructor Summary
ServiceCrawler(int minutes, int gcMinutes, boolean enableGCForceing)
           
 
Method Summary
protected  ArrayList<org.gcube.common.core.scope.GCUBEScope> findAvailableScopes(org.gcube.common.core.scope.GCUBEScope Infrastructure)
          Finds accessible scopes from current ghn context
protected  ArrayList<org.gcube.common.core.scope.GCUBEScope> getChildren(org.gcube.common.core.scope.GCUBEScope scope)
          Queries IS for generic resources describing children of the given scope
protected  boolean isCheckGisDatabase()
           
protected  boolean isCheckInternalDB()
           
protected  boolean isCheckPublisherDatabase()
           
protected  boolean isCheckRunningInstance()
           
 
Methods inherited from class org.gcube.application.aquamaps.enabling.Impl.crawler.ISCrawler
checks, forceUpdate, get, getEnvironments, getGeoNetwork, getGeoServers, getGISDataBase, getInfrastructureMap, getInternalDB, getPublisherDB, getRIsByServiceName, getRIsByServiceNameAndClass, getScopeInformation, schedule
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceCrawler

public ServiceCrawler(int minutes,
                      int gcMinutes,
                      boolean enableGCForceing)
               throws Exception
Throws:
Exception
Method Detail

findAvailableScopes

protected ArrayList<org.gcube.common.core.scope.GCUBEScope> findAvailableScopes(org.gcube.common.core.scope.GCUBEScope Infrastructure)
                                                                         throws Exception
Finds accessible scopes from current ghn context

Specified by:
findAvailableScopes in class ISCrawler
Throws:
Exception

getChildren

protected ArrayList<org.gcube.common.core.scope.GCUBEScope> getChildren(org.gcube.common.core.scope.GCUBEScope scope)
                                                                 throws Exception
Queries IS for generic resources describing children of the given scope

Parameters:
scope -
Returns:
Throws:
Exception

isCheckInternalDB

protected boolean isCheckInternalDB()
Specified by:
isCheckInternalDB in class ISCrawler

isCheckGisDatabase

protected boolean isCheckGisDatabase()
Specified by:
isCheckGisDatabase in class ISCrawler

isCheckPublisherDatabase

protected boolean isCheckPublisherDatabase()
Specified by:
isCheckPublisherDatabase in class ISCrawler

isCheckRunningInstance

protected boolean isCheckRunningInstance()
Specified by:
isCheckRunningInstance in class ISCrawler


Copyright © 2013. All Rights Reserved.