org.axonframework.saga
Interface AssociationValues.ChangeListener

Enclosing interface:
AssociationValues

public static interface AssociationValues.ChangeListener

Interface describing instances that listen for modification in an AssociationValues instance. Methods on this interface are invoked immediately after the event has occurred, and before the changes have been committed to a repository.


Method Summary
 void onAssociationValueAdded(AssociationValue newAssociationValue)
          Invoked when an AssociationValue has been added to the collection.
 void onAssociationValueRemoved(AssociationValue associationValue)
          Invoked when an AssociationValue is removed from the collection.
 

Method Detail

onAssociationValueAdded

void onAssociationValueAdded(AssociationValue newAssociationValue)
Invoked when an AssociationValue has been added to the collection.

Parameters:
newAssociationValue - The AssociationValue that has been added

onAssociationValueRemoved

void onAssociationValueRemoved(AssociationValue associationValue)
Invoked when an AssociationValue is removed from the collection.

Parameters:
associationValue - The AssociationValue that has been removed


Copyright © 2011. All Rights Reserved.