org.iids.aos.hostmanager.negotiationmodule
Class AgentScapeHMTemplateManagement

java.lang.Object
  extended by org.iids.aos.hostmanager.negotiationmodule.AgentScapeHMTemplateManagement

public class AgentScapeHMTemplateManagement
extends java.lang.Object


Constructor Summary
AgentScapeHMTemplateManagement(AgentScapeConfig config)
           
 
Method Summary
 TemplateList getTemplates()
           
 void updateTemplates()
          Currently only consists of retrieving the default template from a file.
 boolean verifyRequest(DCRequestInfo request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AgentScapeHMTemplateManagement

public AgentScapeHMTemplateManagement(AgentScapeConfig config)
Method Detail

updateTemplates

public void updateTemplates()
Currently only consists of retrieving the default template from a file. no dynamics.


getTemplates

public TemplateList getTemplates()

verifyRequest

public boolean verifyRequest(DCRequestInfo request)
                      throws TemplateVerificationException
Returns:
true if request complies to templates, false if not. For each SDT in the document, the template is checked for creation constraints. If present, the values are verified. If no creation constraints are specificied in the template, the method returns true, as it is assumed that this means that all values are considered allowed. An exception is thrown when the document could not be entirely verified (i.e. unknown restrictionmodels etc.)
Throws:
TemplateVerificationException


Copyright © 2003, 2004 IIDS Group. All Rights Reserved.