Java Globus API: Class MDSCommon
org.globus.mds
Class MDSCommon
java.lang.Object
|
+--org.globus.mds.MDSCommon
- public class MDSCommon
- extends Object
Commonly used conveniance functions for accessing specific MDS information.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MDSCommon
public MDSCommon()
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 resultsbasedn - the base DN from which the tree search is startedhostname - specifies the hostnameschedulertypes - - 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 resultsbasedn - the base DN from which the tree search is startedhostname - specifies the hostnameschedulertypes - - 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 resultsbasedn - the base DN from which the tree search is starteduserid - ?- 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