Class BambooHostContextTransactionTemplate

java.lang.Object
com.atlassian.sal.core.transaction.HostContextTransactionTemplate
com.atlassian.sal.bamboo.transaction.BambooHostContextTransactionTemplate
All Implemented Interfaces:
com.atlassian.sal.api.transaction.TransactionTemplate

@Component("transactionTemplate") public class BambooHostContextTransactionTemplate extends com.atlassian.sal.core.transaction.HostContextTransactionTemplate
I couldn't get the plugin system understand that it needs to use non-default constructor in HostContextTransactionTemplate. Therefore I needed to provide this class where I can apply @Autowired to constructor.
  • Constructor Details

    • BambooHostContextTransactionTemplate

      @Autowired public BambooHostContextTransactionTemplate(com.atlassian.sal.spi.HostContextAccessor hostContentAccessor)