com.liferay.portal.dao.jdbc.aop
Class DynamicDataSourceTransactionInterceptor

java.lang.Object
  extended by org.springframework.transaction.interceptor.TransactionAspectSupport
      extended by org.springframework.transaction.interceptor.TransactionInterceptor
          extended by com.liferay.portal.dao.jdbc.aop.DynamicDataSourceTransactionInterceptor
All Implemented Interfaces:
java.io.Serializable, org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.InitializingBean

public class DynamicDataSourceTransactionInterceptor
extends org.springframework.transaction.interceptor.TransactionInterceptor

View Source

Author:
Michael Young
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.springframework.transaction.interceptor.TransactionAspectSupport
org.springframework.transaction.interceptor.TransactionAspectSupport.TransactionInfo
 
Field Summary
 
Fields inherited from class org.springframework.transaction.interceptor.TransactionAspectSupport
logger
 
Constructor Summary
DynamicDataSourceTransactionInterceptor()
           
 
Method Summary
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
 void setDynamicDataSourceTargetSource(DynamicDataSourceTargetSource dynamicDataSourceTargetSource)
           
 
Methods inherited from class org.springframework.transaction.interceptor.TransactionAspectSupport
afterPropertiesSet, cleanupTransactionInfo, commitTransactionAfterReturning, completeTransactionAfterThrowing, createTransactionIfNecessary, createTransactionIfNecessary, currentTransactionInfo, currentTransactionStatus, getTransactionAttributeSource, getTransactionManager, methodIdentification, prepareTransactionInfo, setTransactionAttributes, setTransactionAttributeSource, setTransactionAttributeSources, setTransactionManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DynamicDataSourceTransactionInterceptor

public DynamicDataSourceTransactionInterceptor()
Method Detail

invoke

public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
                        throws java.lang.Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Overrides:
invoke in class org.springframework.transaction.interceptor.TransactionInterceptor
Throws:
java.lang.Throwable

setDynamicDataSourceTargetSource

public void setDynamicDataSourceTargetSource(DynamicDataSourceTargetSource dynamicDataSourceTargetSource)