kaos.policy.query
Interface ObligationPolicyDisclosure

All Known Subinterfaces:
DirectoryService, EnforcerManagerService, Guard, PolicyChecking, PolicyDisclosure
All Known Implementing Classes:
GridDirectoryServicePolicyCert, KAoSDirectoryService, KAoSGridGuard, KAoSGuard, PolicyCheckingImpl, TunnelClient

public interface ObligationPolicyDisclosure

This interface defines methods to select obligation actions for the given trigger condition ActionInstanceDescription.


Method Summary
 java.util.Vector getObligationsForTriggerCondition(ActionInstanceDescription triggerAID)
          Based on the specified trigger ActionInstanceDescription, select all matching control BasicActionDescription, which define the obligations for the trigger.
 

Method Detail

getObligationsForTriggerCondition

java.util.Vector getObligationsForTriggerCondition(ActionInstanceDescription triggerAID)
                                                   throws ObligationViolationException,
                                                          ServiceFailure
Based on the specified trigger ActionInstanceDescription, select all matching control BasicActionDescription, which define the obligations for the trigger. For each control BasicActionDescription create an ActionInstanceDescription. Sort the ActionInstanceDescriptions in descending order by the priority of the obligation policy, in which the BasicActionDescription was defined.

Parameters:
triggerACD - ActionInstanceDescription describes an instance of the trigger condition sent by the trigger condition monitor.
Returns:
A Vector of control ActionInstanceDescriptions, whose BasicActionDescriptions are contained in policies matching the parameter triggerAID. The returned control ActionInstanceDescriptions are sorted in descending sequence by their policy priority. Or, the method returns null, if the ObligationSelector is a concurrent object and a Thread waiting to complete execution of this method has been interrupted. The Thread's interrupted status will be re-established.
Throws:
ObligationViolationException
ServiceFailure