org.iids.aos.locationmanager.negotiationmodule.domainpolicies
Class DomainPolicyContainer
java.lang.Object
org.iids.aos.locationmanager.negotiationmodule.domainpolicies.DomainPolicyContainer
public class DomainPolicyContainer
- extends java.lang.Object
Class used to implement domain policies. Domain policies can be added to the
container in a specific order. The policies can then be applied -in order- to the
templates/request given by the requestprocessor
This version of the container can only contain a single policy for each serviceName, and
the method for creating an order is rather crude (object user has to supply the correct indexes)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DomainPolicyContainer
public DomainPolicyContainer()
addDomainPolicy
public void addDomainPolicy(DomainPolicy dp,
java.lang.String serviceName)
throws ContainerException
- Throws:
ContainerException
applyTemplateSelectionDomainPolicies
public java.util.Vector<Template> applyTemplateSelectionDomainPolicies(java.util.Vector<Template> inputTemplates,
AgreementOffer request)
applyHostOfferSelectionDomainPolicies
public java.util.Vector<AgreementOffer> applyHostOfferSelectionDomainPolicies(AgreementOffer request,
java.util.Vector<AgreementOffer> offers)
resetPolicies
public void resetPolicies()
Copyright © 2003, 2004 IIDS Group. All Rights Reserved.