com.liferay.portal.dao.jdbc.util
Class DataSourceSwapper
java.lang.Object
com.liferay.portal.dao.jdbc.util.DataSourceSwapper
- All Implemented Interfaces:
- org.springframework.beans.factory.Aware, org.springframework.beans.factory.BeanFactoryAware
public class DataSourceSwapper
- extends Object
- implements org.springframework.beans.factory.BeanFactoryAware
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DataSourceSwapper
public DataSourceSwapper()
swapCounterDataSource
public static void swapCounterDataSource(Properties properties)
throws Exception
- Throws:
Exception
swapLiferayDataSource
public static void swapLiferayDataSource(Properties properties)
throws Exception
- Throws:
Exception
setBeanFactory
public void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
- Specified by:
setBeanFactory in interface org.springframework.beans.factory.BeanFactoryAware
setCounterDataSourceWrapper
public void setCounterDataSourceWrapper(DataSourceWrapper counterDataSourceWrapper)
setLiferayDataSourceWrapper
public void setLiferayDataSourceWrapper(DataSourceWrapper liferayDataSourceWrapper)