org.ow2.bonita.pvm.internal.spring
Class CommandTransactionCallback<T>

java.lang.Object
  extended by org.ow2.bonita.pvm.internal.spring.CommandTransactionCallback<T>
All Implemented Interfaces:
org.springframework.transaction.support.TransactionCallback

public class CommandTransactionCallback<T>
extends java.lang.Object
implements org.springframework.transaction.support.TransactionCallback

Author:
Tom Baeyens

Constructor Summary
CommandTransactionCallback(Command<T> command, EnvironmentFactory environmentFactory)
           
 
Method Summary
 T doInTransaction(org.springframework.transaction.TransactionStatus status)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandTransactionCallback

public CommandTransactionCallback(Command<T> command,
                                  EnvironmentFactory environmentFactory)
Method Detail

doInTransaction

public T doInTransaction(org.springframework.transaction.TransactionStatus status)
Specified by:
doInTransaction in interface org.springframework.transaction.support.TransactionCallback


Copyright © 2009 OW2 Consortium. All Rights Reserved.