org.globus.ogsa.utils
Class ServiceGroupUtils

java.lang.Object
  extended byorg.globus.ogsa.utils.ServiceGroupUtils

public class ServiceGroupUtils
extends java.lang.Object

Utility to facilitate the creation of ServiceGroupRegistration.remove() query expressions.


Constructor Summary
ServiceGroupUtils()
           
 
Method Summary
static ExtensibilityType getLocatorEquivalenceExpression(HandleType handle)
          Creates an expression that removes all memberServices matching the handle passed as input to the operation from a ServiceGroupRegistration service.
static ExtensibilityType getLocatorEquivalenceExpression(LocatorType locator)
          Creates an expression that removes all memberServices matching the locator passed as input to the operation from a ServiceGroupRegistration service.
static ExtensibilityType getLocatorEquivalenceExpression(LocatorType[] locators)
          Creates an expression that removes all memberServices matching any of the locators passed as input to the operation from a ServiceGroupRegistration service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceGroupUtils

public ServiceGroupUtils()
Method Detail

getLocatorEquivalenceExpression

public static ExtensibilityType getLocatorEquivalenceExpression(HandleType handle)
                                                         throws GridServiceException
Creates an expression that removes all memberServices matching the handle passed as input to the operation from a ServiceGroupRegistration service.

Throws:
GridServiceException
See Also:
ServiceGroupRegistration

getLocatorEquivalenceExpression

public static ExtensibilityType getLocatorEquivalenceExpression(LocatorType locator)
                                                         throws GridServiceException
Creates an expression that removes all memberServices matching the locator passed as input to the operation from a ServiceGroupRegistration service.

Throws:
GridServiceException
See Also:
ServiceGroupRegistration

getLocatorEquivalenceExpression

public static ExtensibilityType getLocatorEquivalenceExpression(LocatorType[] locators)
                                                         throws GridServiceException
Creates an expression that removes all memberServices matching any of the locators passed as input to the operation from a ServiceGroupRegistration service.

Throws:
GridServiceException
See Also:
ServiceGroupRegistration


Copyright ? 1999 University of Chicago and The University of Southern California. All Rights Reserved.