Transfer version 1.1

transfer.com.sql.transaction
Class TransactionAdviceBuilder

WEB-INF.cftags.component
        extended by transfer.com.aop.AbstractBaseAdviceBuilder
            extended by transfer.com.sql.transaction.TransactionAdviceBuilder

public class TransactionAdviceBuilder
extends AbstractBaseAdviceBuilder

Builds the dynamic advice for Transactions


Constructor Summary
init(MethodInjector methodInjector)
          Constructor
 
Method Summary
 void __dependencyInject(string key, any value)
          inject a dependency into the variables scope
 void buildAdvice(any component, any pointcut, DefinitionBuffer buffer)
          builds the advice
 void configure(Transaction transaction, uuid transactionScopeKey)
          configure before using, and after init
private Transaction getTransaction()
private uuid getTransactionScopeKey()
private void setTransaction(Transaction transaction)
private void setTransactionScopeKey(uuid transactionScopeKey)
 
Methods inherited from class transfer.com.aop.AbstractBaseAdviceBuilder
getAdviceName, getMethodInjector, setMethodInjector
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init(MethodInjector methodInjector)
Constructor

Parameters:
methodInjector - The method injector cfc
Method Detail

__dependencyInject

public void __dependencyInject(string key, any value)
inject a dependency into the variables scope

Parameters:
key - the key to inject to
value - the value to inject

buildAdvice

public void buildAdvice(any component, any pointcut, DefinitionBuffer buffer)
builds the advice

Overrides:
buildAdvice in class AbstractBaseAdviceBuilder
Parameters:
component - the component to apply the advice to
pointcut - either a function, or a regex for functions to advise
buffer - the definition buffer to write to

configure

public void configure(Transaction transaction, uuid transactionScopeKey)
configure before using, and after init

Parameters:
transaction - The transaction service
transactionScopeKey - the key the transaction is under

getTransaction

private Transaction getTransaction()


getTransactionScopeKey

private uuid getTransactionScopeKey()


setTransaction

private void setTransaction(Transaction transaction)

Parameters:
transaction

setTransactionScopeKey

private void setTransactionScopeKey(uuid transactionScopeKey)

Parameters:
transactionScopeKey

Transfer version 1.1