com.xenonsoft.bridgetown.aop.transaction
Interface ITransactionParticipant


public interface ITransactionParticipant

This interface defines the contract for a (listener) subscriber that wishes to be notified about the outcome of transaction from a transaction process manager.

Version:
$Id: ITransactionParticipant.java,v 1.2 2005/02/23 01:28:13 peter_pilgrim Exp $
Author:
Peter Pilgrim, 08-Nov-2004 17:32:15
See Also:
ParticipationEvent

Method Summary
 void afterBegin(ParticipationEvent event)
          Notify the participant that the transaction has started
 void beforeCommit(ParticipationEvent event)
          Notify the participant that transaction completion just before final commit
 void beforeRollback(ParticipationEvent event)
          Notify the participant that transaction completion just before final rollback
 

Method Detail

afterBegin

public void afterBegin(ParticipationEvent event)
Notify the participant that the transaction has started

Parameters:
event - the transaction participation event

beforeCommit

public void beforeCommit(ParticipationEvent event)
Notify the participant that transaction completion just before final commit

Parameters:
event - the transaction participation event

beforeRollback

public void beforeRollback(ParticipationEvent event)
Notify the participant that transaction completion just before final rollback

Parameters:
event - the transaction participation event


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.