edu.uwf.kaos.coabsgrid.test.kgh
Class PolicyAccessor
java.lang.Object
edu.uwf.kaos.coabsgrid.test.kgh.PolicyAccessor
public class PolicyAccessor
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyAccessor
public PolicyAccessor(java.lang.String directoryName)
initialize
protected void initialize()
acquireMessageTransportService
public MessageTransportService acquireMessageTransportService()
throws java.lang.Exception
- Throws:
java.lang.Exception
bindToMessageTransportService
public Locator bindToMessageTransportService()
throws java.lang.Exception
- Throws:
java.lang.Exception
acquireRemoteDirectoryLocator
public Locator acquireRemoteDirectoryLocator()
register
protected void register(java.lang.String name,
java.lang.String domain)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
getPoliciesFor
protected java.util.Vector getPoliciesFor(java.lang.String agentID)
throws UnknownConceptException
- Throws:
UnknownConceptException
getGUIDFor
protected java.lang.String getGUIDFor(java.lang.String name)
throws UnknownConceptException
- Get the uniuq guid of the agent by querying for its name
- Throws:
UnknownConceptException
getResults
public java.util.Vector getResults(java.util.Vector policies,
java.lang.String targetID)
getAttributes
public java.util.Vector getAttributes(java.util.Vector attrVector)
main
public static void main(java.lang.String[] args)