ch.elca.el4j.tests.aspects.interceptor
Class ObservedTransactionInterceptor
java.lang.Object
org.springframework.transaction.interceptor.TransactionAspectSupport
org.springframework.transaction.interceptor.TransactionInterceptor
ch.elca.el4j.tests.aspects.interceptor.ObservedTransactionInterceptor
- All Implemented Interfaces:
- Serializable, org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, BeanFactoryAware, InitializingBean
public class ObservedTransactionInterceptor
- extends TransactionInterceptor
Wrapped transaction interceptor to count invocation of it.
- Author:
- Martin Zeltner (MZE)
- See Also:
- Serialized Form
- File-location:
- ObservedTransactionInterceptor
- Last check-in date:
- 2010-12-21 11:08:04 +0100 (Di, 21. Dez 2010) by swismer for revision 4253
|
Method Summary |
Object |
invoke(org.aopalliance.intercept.MethodInvocation invocation)
|
| Methods inherited from class org.springframework.transaction.interceptor.TransactionAspectSupport |
afterPropertiesSet, cleanupTransactionInfo, commitTransactionAfterReturning, completeTransactionAfterThrowing, createTransactionIfNecessary, createTransactionIfNecessary, currentTransactionInfo, currentTransactionStatus, determineTransactionManager, getBeanFactory, getTransactionAttributeSource, getTransactionManager, getTransactionManagerBeanName, methodIdentification, methodIdentification, prepareTransactionInfo, setBeanFactory, setTransactionAttributes, setTransactionAttributeSource, setTransactionAttributeSources, setTransactionManager, setTransactionManagerBeanName |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
serialVersionUID
private static final long serialVersionUID
- Generated serialVersionUID.
- See Also:
- Constant Field Values
ObservedTransactionInterceptor
public ObservedTransactionInterceptor()
- See Also:
TransactionInterceptor#TransactionInterceptor()}
ObservedTransactionInterceptor
public ObservedTransactionInterceptor(PlatformTransactionManager ptm,
Properties attributes)
- See Also:
TransactionInterceptor#TransactionInterceptor(PlatformTransactionManager, Properties)}
ObservedTransactionInterceptor
public ObservedTransactionInterceptor(PlatformTransactionManager ptm,
TransactionAttributeSource tas)
- See Also:
TransactionInterceptor#TransactionInterceptor(
PlatformTransactionManager, TransactionAttributeSource)}
invoke
public Object invoke(org.aopalliance.intercept.MethodInvocation invocation)
throws Throwable
- Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor- Overrides:
invoke in class TransactionInterceptor
- Throws:
Throwable
Copyright © 2005-2011 ELCA. All Rights Reserved.