org.prevayler.contrib.facade
Class ProxyTransaction

java.lang.Object
  extended by org.prevayler.contrib.facade.AbstractProxy
      extended by org.prevayler.contrib.facade.ProxyTransaction
All Implemented Interfaces:
Serializable, Transaction<Serializable>

public class ProxyTransaction
extends AbstractProxy
implements Transaction<Serializable>

Proxy representation of a Prevayler Transaction

Since:
0_1
Author:
Jay Sachs [jay@contravariant.org], Jacob Kjome [hoju@visi.com]
See Also:
Serialized Form

Constructor Summary
ProxyTransaction(Method p_method, Object[] p_args, TransactionHint p_hint)
           
 
Method Summary
 void executeOn(Serializable p_prevalentSystem, Date p_timestamp)
          This method is called by Prevayler.execute(Transaction) to execute this Transaction on the given Prevalent System.
 
Methods inherited from class org.prevayler.contrib.facade.AbstractProxy
execute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProxyTransaction

public ProxyTransaction(Method p_method,
                        Object[] p_args,
                        TransactionHint p_hint)
Since:
0_2
Method Detail

executeOn

public void executeOn(Serializable p_prevalentSystem,
                      Date p_timestamp)
Description copied from interface: Transaction
This method is called by Prevayler.execute(Transaction) to execute this Transaction on the given Prevalent System. See org.prevayler.demos for usage examples.

Specified by:
executeOn in interface Transaction<Serializable>
Parameters:
p_prevalentSystem - The system on which this Transaction will execute.
p_timestamp - The time at which this Transaction is being executed. Every Transaction executes completely within a single moment in time. Logically, a Prevalent System's time does not pass during the execution of a Transaction.


Copyright © 2001-2013. All Rights Reserved.