com.atlassian.gadgets.test
Class PassThroughTransactionTemplate

java.lang.Object
  extended by com.atlassian.gadgets.test.PassThroughTransactionTemplate
All Implemented Interfaces:
com.atlassian.sal.api.transaction.TransactionTemplate

public class PassThroughTransactionTemplate
extends Object
implements com.atlassian.sal.api.transaction.TransactionTemplate

A TransactionTemplate implementation that simply delegates to the specified TransactionCallback.


Constructor Summary
PassThroughTransactionTemplate()
           
 
Method Summary
 Object execute(com.atlassian.sal.api.transaction.TransactionCallback callback)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PassThroughTransactionTemplate

public PassThroughTransactionTemplate()
Method Detail

execute

public Object execute(com.atlassian.sal.api.transaction.TransactionCallback callback)
Specified by:
execute in interface com.atlassian.sal.api.transaction.TransactionTemplate


Copyright © 2010 Atlassian. All Rights Reserved.