ColdBox Platform Version 3.7.0

coldbox.system.aop.aspects
Class HibernateTransaction

WEB-INF.cftags.component
        extended by coldbox.system.aop.aspects.HibernateTransaction
All Implemented Interfaces:
MethodInterceptor

public class HibernateTransaction
extends WEB-INF.cftags.component

******************************************************************************* Copyright Since 2005 ColdBox Framework by Luis Majano and Ortus Solutions, Corp www.coldbox.org | www.luismajano.com | www.ortussolutions.com ******************************************************************************* This interceptor will inspect objects for the 'transactional' annotation and if found, it will wrap it in a transaction safe hibernate transaction. This aspect is a self binding aspect for WireBox that registers itself using the two annotations below The transactional annotation can have a value if you are using multi-datasources with ORM. The value of the transactional annotation denotes the dsn.


Constructor Summary
init()
          Constructor
 
Method Summary
 any GETLOG()
 void SETLOG(any log)
 any invokeMethod(any invocation)
          The AOP around advice for hibernate transactions
 
Methods inherited from class WEB-INF.cftags.component
 

Constructor Detail

init

public init()
Constructor

Method Detail

GETLOG

public any GETLOG()


SETLOG

public void SETLOG(any log)

Parameters:
log

invokeMethod

public any invokeMethod(any invocation)
The AOP around advice for hibernate transactions

Specified by:
invokeMethod in interface MethodInterceptor
Parameters:
invocation

ColdBox Platform Version 3.7.0