com.xenonsoft.bridgetown.aop.transaction.support
Class ParticipationEvent

java.lang.Object
  extended byjava.util.EventObject
      extended bycom.xenonsoft.bridgetown.aop.transaction.support.ParticipationEvent
All Implemented Interfaces:
java.io.Serializable

public class ParticipationEvent
extends java.util.EventObject

Participation event for interested parties who have subscribe to the transaction manager notification processor.

NB: This is event is utterly different from the resource controller associated with each transaction object

Version:
$Id: ParticipationEvent.java,v 1.4 2005/03/17 02:35:51 peter_pilgrim Exp $
Author:
Peter Pilgrim, 09-Nov-2004 17:59:09
See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
ParticipationEvent(ITransactionContext transaction, ITransactionServiceManager manager)
           
 
Method Summary
 ITransactionServiceManager getManager()
          Gets the transaction service manager
 ITransactionContext getTransaction()
          Gets the transaction context
 void setManager(ITransactionServiceManager manager)
          Sets the transaction service manager
 void setTransaction(ITransactionContext transaction)
          Sets the transaction context
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParticipationEvent

public ParticipationEvent(ITransactionContext transaction,
                          ITransactionServiceManager manager)
Parameters:
transaction -
manager -
Method Detail

getManager

public ITransactionServiceManager getManager()
Gets the transaction service manager

Returns:
Returns the manager.

setManager

public void setManager(ITransactionServiceManager manager)
Sets the transaction service manager

Parameters:
manager - the new value for manager

getTransaction

public ITransactionContext getTransaction()
Gets the transaction context

Returns:
Returns the transaction.

setTransaction

public void setTransaction(ITransactionContext transaction)
Sets the transaction context

Parameters:
transaction - the new value for transaction


Copyright © 2005 XeNoNSoFT.com. All Rights Reserved.