com.liferay.portal.dao.shard
Class ShardAdvice
java.lang.Object
com.liferay.portal.dao.shard.ShardAdvice
public class ShardAdvice
- extends java.lang.Object
View Source
- Author:
- Michael Young, Alexander Chow
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ShardAdvice
public ShardAdvice()
invokeAccountService
public java.lang.Object invokeAccountService(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
invokeCompanyService
public java.lang.Object invokeCompanyService(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
invokeGlobally
public java.lang.Object invokeGlobally(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
invokePersistence
public java.lang.Object invokePersistence(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
invokeUserService
public java.lang.Object invokeUserService(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
throws java.lang.Throwable
- Throws:
java.lang.Throwable
setShardDataSourceTargetSource
public void setShardDataSourceTargetSource(ShardDataSourceTargetSource shardDataSourceTargetSource)
setShardSessionFactoryTargetSource
public void setShardSessionFactoryTargetSource(ShardSessionFactoryTargetSource shardSessionFactoryTargetSource)
getDataSource
protected javax.sql.DataSource getDataSource()
popCompanyService
protected java.lang.String popCompanyService()
pushCompanyService
protected void pushCompanyService(long companyId)
pushCompanyService
protected void pushCompanyService(java.lang.String shardName)