ch.elca.el4j.tests.aspects.interceptor
Class ObservedTransactionInterceptor

java.lang.Object
  extended by org.springframework.transaction.interceptor.TransactionAspectSupport
      extended by org.springframework.transaction.interceptor.TransactionInterceptor
          extended by 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

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.transaction.interceptor.TransactionAspectSupport
TransactionAspectSupport.TransactionInfo
 
Field Summary
private static long serialVersionUID
          Generated serialVersionUID.
 
Fields inherited from class org.springframework.transaction.interceptor.TransactionAspectSupport
logger
 
Constructor Summary
ObservedTransactionInterceptor()
           
ObservedTransactionInterceptor(PlatformTransactionManager ptm, Properties attributes)
           
ObservedTransactionInterceptor(PlatformTransactionManager ptm, TransactionAttributeSource tas)
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
Generated serialVersionUID.

See Also:
Constant Field Values
Constructor Detail

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)}
Method Detail

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.