com.liferay.portal.dao.shard.advice
Class ShardGloballyAdvice

java.lang.Object
  extended by com.liferay.portal.dao.shard.advice.ShardGloballyAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class ShardGloballyAdvice
extends java.lang.Object
implements org.aopalliance.intercept.MethodInterceptor

Author:
Michael Young, Alexander Chow, Shuyang Zhou

Constructor Summary
ShardGloballyAdvice()
           
 
Method Summary
 java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
          Invoke a join point across all shards while ignoring the company service stack.
 void setShardAdvice(ShardAdvice shardAdvice)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ShardGloballyAdvice

public ShardGloballyAdvice()
Method Detail

invoke

public java.lang.Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
                        throws java.lang.Throwable
Invoke a join point across all shards while ignoring the company service stack.

Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Throws:
java.lang.Throwable
See Also:
ShardIterativelyAdvice

setShardAdvice

public void setShardAdvice(ShardAdvice shardAdvice)