uk.ac.soton.itinnovation.grid.client.registry
Class ExampleDiscoveryQueries

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.client.registry.ExampleDiscoveryQueries

public class ExampleDiscoveryQueries
extends Object


Constructor Summary
ExampleDiscoveryQueries()
           
 
Method Summary
static String getJobsBasedOnApplicationName(String appName)
          get Job EPRs based on application name (contains).
static String getJobServicesBasedOnApplicationName(String appName)
          get job service EPRs that provide an application (application name (contains)).
static String getServicesManagedBySlaConversation(SLAConversation slaConv)
          get services managed by SLA EPR (defined by address and identifier)
static String getSlaManagingApplication(String appName)
          find SLA EPR managing application
static String getSlaManagingConversation(Conversation conv)
          find SLA EPR managing conversation EPR (resource with an identifier)
static String getSLAOnApplicationNameAndUsage(String rate, String appName)
          get SLA EPRs based on application name (contains) and usage information.
static String getSlaWithRestrictionManagingApplication(String price, String appName)
          find SLA EPR managing application where sla
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExampleDiscoveryQueries

public ExampleDiscoveryQueries()
Method Detail

getJobsBasedOnApplicationName

public static final String getJobsBasedOnApplicationName(String appName)
get Job EPRs based on application name (contains). if name is "" returns all job eprs that provide application metadata.

Parameters:
appName - application Name
Returns:
xml query

getJobServicesBasedOnApplicationName

public static final String getJobServicesBasedOnApplicationName(String appName)
get job service EPRs that provide an application (application name (contains)). if name is "", it returns all job services that provide application metadata.

Parameters:
appName - application Name

getSlaManagingApplication

public static final String getSlaManagingApplication(String appName)
find SLA EPR managing application


getSlaWithRestrictionManagingApplication

public static final String getSlaWithRestrictionManagingApplication(String price,
                                                                    String appName)
find SLA EPR managing application where sla


getSlaManagingConversation

public static final String getSlaManagingConversation(Conversation conv)
find SLA EPR managing conversation EPR (resource with an identifier)


getServicesManagedBySlaConversation

public static final String getServicesManagedBySlaConversation(SLAConversation slaConv)
get services managed by SLA EPR (defined by address and identifier)


getSLAOnApplicationNameAndUsage

public static final String getSLAOnApplicationNameAndUsage(String rate,
                                                           String appName)
get SLA EPRs based on application name (contains) and usage information. if name is "" returns all SLA EPRs that provide application metadata.

Parameters:
appName - application Name
rate - usage rate on disc space
Returns:
xml query


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.