WEB-INF.cftags.component coldbox.system.aop.aspects.HibernateTransaction
******************************************************************************* 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 | default | serializable | required |
any
|
log
|
true
|
false
|
Constructor Summary | |
---|---|
init()
Constructor. |
Method Summary | |
---|---|
any
|
GETLOG()
|
HibernateTransaction
|
SETLOG(any log)
|
any
|
invokeMethod(any invocation)
The AOP around advice for hibernate transactions. |
Methods inherited from class WEB-INF.cftags.component |
---|
None |
Constructor Detail |
---|
Constructor
Property Detail |
---|
inject
- logbox:logger:{this}required
- falseserializable
- trueMethod Detail |
---|
log
The AOP around advice for hibernate transactions
invokeMethod
in interface
MethodInterceptor
invocation