001/*
002 * $RCSfile: CompensationTrigger.java,v $
003 * $Revision: 1.1.2.1 $ $Date: 2011/04/04 21:15:05 $
004 * 
005 * Copyright 2011 Kabira Technologies, Inc. All rights reserved.
006 */
007
008package com.kabira.platform;
009
010/**
011 * Indicate that this class implements a compensation trigger.
012 * Compensation triggers are invoked for an instance when an conflict has
013 * been detected when restoring a node. The instance will be overwritten
014 * after this trigger has executed.
015 * This interface will only affect Managed types.
016 */
017public interface CompensationTrigger
018{
019    /**
020     * Compensation trigger callback method.
021     */
022    public void uponConflict();
023}