edu.uwf.kaos.coabsgrid.test.kgh
Class PolicyAccessor

java.lang.Object
  extended by edu.uwf.kaos.coabsgrid.test.kgh.PolicyAccessor

public class PolicyAccessor
extends java.lang.Object


Constructor Summary
PolicyAccessor(java.lang.String directoryName)
           
 
Method Summary
 MessageTransportService acquireMessageTransportService()
           
 Locator acquireRemoteDirectoryLocator()
           
 Locator bindToMessageTransportService()
           
 java.util.Vector getAttributes(java.util.Vector attrVector)
           
protected  java.lang.String getGUIDFor(java.lang.String name)
          Get the uniuq guid of the agent by querying for its name
protected  java.util.Vector getPoliciesFor(java.lang.String agentID)
           
 java.util.Vector getResults(java.util.Vector policies, java.lang.String targetID)
           
protected  void initialize()
           
static void main(java.lang.String[] args)
           
protected  void register(java.lang.String name, java.lang.String domain)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PolicyAccessor

public PolicyAccessor(java.lang.String directoryName)
Method Detail

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)