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.
|
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 |
MDSCommon
public MDSCommon()
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 resultsbasedn - the base DN from which the tree search is startedhostname - specifies the hostnameschedulertypes - - 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 resultsbasedn - the base DN from which the tree search is startedhostname - specifies the hostnameschedulertypes - - 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 resultsbasedn - the base DN from which the tree search is starteduserid - ?- 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