Liferay 6.0-ee

com.liferay.portal.dao.shard
Class ShardAdvice

java.lang.Object
  extended by com.liferay.portal.dao.shard.ShardAdvice

public class ShardAdvice
extends Object


Constructor Summary
ShardAdvice()
           
 
Method Summary
 void afterPropertiesSet()
           
protected  DataSource getDataSource()
           
 Object invokeByParameter(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
           
 Object invokeCompanyService(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
           
 Object invokeGlobally(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
           
 Object invokePersistence(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
           
protected  String popCompanyService()
           
protected  void pushCompanyService(long companyId)
           
protected  void pushCompanyService(String shardName)
           
 void setShardDataSourceTargetSource(ShardDataSourceTargetSource shardDataSourceTargetSource)
           
 void setShardSessionFactoryTargetSource(ShardSessionFactoryTargetSource shardSessionFactoryTargetSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShardAdvice

public ShardAdvice()
Method Detail

afterPropertiesSet

public void afterPropertiesSet()

invokeByParameter

public Object invokeByParameter(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
                         throws Throwable
Throws:
Throwable

invokeCompanyService

public Object invokeCompanyService(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
                            throws Throwable
Throws:
Throwable

invokeGlobally

public Object invokeGlobally(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
                      throws Throwable
Throws:
Throwable

invokePersistence

public Object invokePersistence(org.aspectj.lang.ProceedingJoinPoint proceedingJoinPoint)
                         throws Throwable
Throws:
Throwable

setShardDataSourceTargetSource

public void setShardDataSourceTargetSource(ShardDataSourceTargetSource shardDataSourceTargetSource)

setShardSessionFactoryTargetSource

public void setShardSessionFactoryTargetSource(ShardSessionFactoryTargetSource shardSessionFactoryTargetSource)

getDataSource

protected DataSource getDataSource()

popCompanyService

protected String popCompanyService()

pushCompanyService

protected void pushCompanyService(long companyId)

pushCompanyService

protected void pushCompanyService(String shardName)

Liferay 6.0-ee