kaos.policy.enforcement.obligation.test.grid
Class ObligationEnforcer

java.lang.Object
  extended by kaos.policy.enforcement.obligation.test.grid.ObligationEnforcer
All Implemented Interfaces:
TriggerConditionListener

public class ObligationEnforcer
extends java.lang.Object
implements TriggerConditionListener

Enforces domain policies. $Revision: 1.5 $


Constructor Summary
ObligationEnforcer()
           
 
Method Summary
 void checkMessageSend(java.lang.String senderName, java.lang.String receiverName, TransportMessage msg)
          Filter outgoing messages.
 java.util.Vector getControlledActionClasses()
          Get names of the action classes on which policies can be enforced.
 boolean initialize()
           
protected  void printDebugString(java.lang.String msg)
          Print debug messages.
 void setMonitoredSender(MonitoredMessageSender monitoredMessageSender)
          kaos.policy.enforcement.obligation.TriggerConditionListener interface implementation - end
 void updateTriggerCondition(BasicActionDescription triggerCondition)
          kaos.policy.enforcement.obligation.TriggerConditionListener interface implementation - begin
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObligationEnforcer

public ObligationEnforcer()
Method Detail

getControlledActionClasses

public java.util.Vector getControlledActionClasses()
Get names of the action classes on which policies can be enforced.

Returns:
Vector Contains strings representing ontology originated names of Action classes.

updateTriggerCondition

public void updateTriggerCondition(BasicActionDescription triggerCondition)
kaos.policy.enforcement.obligation.TriggerConditionListener interface implementation - begin

Specified by:
updateTriggerCondition in interface TriggerConditionListener
Parameters:
triggerCondition - BasicActionDescription describes the trigger condition the listener has registered for.

setMonitoredSender

public void setMonitoredSender(MonitoredMessageSender monitoredMessageSender)
kaos.policy.enforcement.obligation.TriggerConditionListener interface implementation - end


initialize

public boolean initialize()

checkMessageSend

public void checkMessageSend(java.lang.String senderName,
                             java.lang.String receiverName,
                             TransportMessage msg)
Filter outgoing messages. This method is called by the GridWrappedMessageSender.


printDebugString

protected void printDebugString(java.lang.String msg)
Print debug messages.