kaos.policy.guard
Interface PolicyDistributor

All Known Subinterfaces:
Guard
All Known Implementing Classes:
KAoSGridGuard, KAoSGuard

public interface PolicyDistributor

This interface defines a method to receive an atomic policy update. $Revision: 1.3 $


Method Summary
 void setPolicies(java.util.List policies)
          Replace the current policy set with the given set
 void updatePolicies(java.util.List addedPolicies, java.util.List changedPolicies, java.util.List removedPolicies)
          Receive policy updates and apply them accordingly.
 

Method Detail

updatePolicies

void updatePolicies(java.util.List addedPolicies,
                    java.util.List changedPolicies,
                    java.util.List removedPolicies)
Receive policy updates and apply them accordingly.

Parameters:
addedPolicies - The List of policies to be added to the collection of stored policies.
changedPolicies - The List of policies to be changed in the collection of stored policies.
removedPolicies - The List of policies to be removed from the collection of stored policies.

setPolicies

void setPolicies(java.util.List policies)
Replace the current policy set with the given set