org.globus.mds
Class MDSCommon

java.lang.Object
  |
  +--org.globus.mds.MDSCommon

public class MDSCommon
extends java.lang.Object

Commonly used conveniance functions for accessing specific MDS information.


Constructor Summary
MDSCommon()
           
 
Method Summary
static java.util.Vector hostname2contacts(MDS mds, java.lang.String basedn, java.lang.String hostname, java.util.Vector schedulertypes)
          returns a vector of Globus gatekeeper contacts based on the hostname
static java.util.Hashtable listContacts(MDS mds, java.lang.String basedn, java.lang.String hostname, java.util.Vector schedulertypes)
          returns a Hashtable of Globus gatekeeper contacts based on the hostname
static java.lang.String toGlobusDN(java.lang.String dn)
          what is this used for?
static java.util.Vector userJobs(MDS mds, java.lang.String basedn, java.lang.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 java.util.Vector hostname2contacts(MDS mds,
                                                 java.lang.String basedn,
                                                 java.lang.String hostname,
                                                 java.util.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 java.util.Hashtable listContacts(MDS mds,
                                               java.lang.String basedn,
                                               java.lang.String hostname,
                                               java.util.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 java.util.Vector userJobs(MDS mds,
                                        java.lang.String basedn,
                                        java.lang.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 java.lang.String toGlobusDN(java.lang.String dn)
what is this used for?
Parameters:
dn -  
Returns:
i do not know