org.globus.mds
Class MDSCommon

java.lang.Object
  extended by org.globus.mds.MDSCommon

public class MDSCommon
extends Object

Commonly used conveniance functions for accessing specific MDS information.


Constructor Summary
MDSCommon()
           
 
Method Summary
static Vector hostname2contacts(MDS mds, String basedn, String hostname, Vector schedulertypes)
          returns a vector of Globus gatekeeper contacts based on the hostname
static Hashtable listContacts(MDS mds, String basedn, String hostname, Vector schedulertypes)
          returns a Hashtable of Globus gatekeeper contacts based on the hostname
static String toGlobusDN(String dn)
          what is this used for?
static Vector userJobs(MDS mds, String basedn, String userid)
          returns what is this used for?
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDSCommon

public MDSCommon()
Method Detail

hostname2contacts

public static Vector hostname2contacts(MDS mds,
                                       String basedn,
                                       String hostname,
                                       Vector schedulertypes)
                                throws MDSException
returns a vector of Globus gatekeeper contacts based on the hostname

Parameters:
mds - the MDS in which to look for results
basedn - the base DN from which the tree search is started
hostname - specifies the hostname
schedulertypes -
Throws:
MDSException

listContacts

public static Hashtable listContacts(MDS mds,
                                     String basedn,
                                     String hostname,
                                     Vector schedulertypes)
                              throws MDSException
returns a Hashtable of Globus gatekeeper contacts based on the hostname

Parameters:
mds - the MDS in which to look for results
basedn - the base DN from which the tree search is started
hostname - specifies the hostname
schedulertypes -
Returns:
Hashtable of contacts
Throws:
MDSException

userJobs

public static Vector userJobs(MDS mds,
                              String basedn,
                              String userid)
                       throws MDSException
returns what is this used for?

Parameters:
mds - the MDS in which to look for results
basedn - the base DN from which the tree search is started
userid - ?
Returns:
a vector of jobs
Throws:
MDSException

toGlobusDN

public static String toGlobusDN(String dn)
what is this used for?

Parameters:
dn -
Returns:
i do not know