Liferay 7.0-ce-m2

com.liferay.portal.dao.jdbc.util
Class DataSourceSwapper

java.lang.Object
  extended by 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


Constructor Summary
DataSourceSwapper()
           
 
Method Summary
 void setBeanFactory(org.springframework.beans.factory.BeanFactory beanFactory)
           
 void setCounterDataSourceWrapper(DataSourceWrapper counterDataSourceWrapper)
           
 void setLiferayDataSourceWrapper(DataSourceWrapper liferayDataSourceWrapper)
           
static void swapCounterDataSource(Properties properties)
           
static void swapLiferayDataSource(Properties properties)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSourceSwapper

public DataSourceSwapper()
Method Detail

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)

Liferay 7.0-ce-m2