com.atlassian.sal.core.transaction
Class HostContextTransactionTemplate

java.lang.Object
  extended by com.atlassian.sal.core.transaction.HostContextTransactionTemplate
All Implemented Interfaces:
TransactionTemplate

public class HostContextTransactionTemplate
extends Object
implements TransactionTemplate

This provides a default implementation that delegates to the underlying host context accessor


Constructor Summary
HostContextTransactionTemplate(HostContextAccessor hostContentAccessor)
           
 
Method Summary
 Object execute(TransactionCallback action)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HostContextTransactionTemplate

public HostContextTransactionTemplate(HostContextAccessor hostContentAccessor)
Method Detail

execute

public Object execute(TransactionCallback action)
Specified by:
execute in interface TransactionTemplate


Copyright © 2011 Atlassian. All Rights Reserved.