|
ColdBox Platform v3.8.0
|
FRAMES
|
coldbox.system.aop.aspects
Class
HibernateTransaction
WEB-INF.cftags.component
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.
Property Summary
|
Type
|
Property & Description
|
Default
|
Serializable
|
Required
|
any
|
log
Attributes:
- inject = logbox:logger:{this}
|
|
true
|
false
|
Constructor Summary |
init()
Constructor
|
Methods inherited from class WEB-INF.cftags.component |
None
|
init
public init()
-
Constructor
log
any log
-
- Attributes:
inject
- logbox:logger:{this}
required
- false
serializable
- true
default
-
GETLOG
public any GETLOG()
-
SETLOG
public HibernateTransaction 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 v3.8.0
|
FRAMES
|