Liferay 7.0-ce-b4

com.liferay.portal.service
Class ServiceContextAdvice

java.lang.Object
  extended by com.liferay.portal.spring.aop.ChainableMethodAdvice
      extended by com.liferay.portal.service.ServiceContextAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

public class ServiceContextAdvice
extends ChainableMethodAdvice


Field Summary
 
Fields inherited from class com.liferay.portal.spring.aop.ChainableMethodAdvice
nextMethodInterceptor, nullResult, serviceBeanAopCacheManager
 
Constructor Summary
ServiceContextAdvice()
           
 
Method Summary
protected  boolean hasServiceContextParameter(Method method)
           
 Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
protected  boolean pushServiceContext(org.aopalliance.intercept.MethodInvocation methodInvocation)
           
 
Methods inherited from class com.liferay.portal.spring.aop.ChainableMethodAdvice
afterReturning, afterThrowing, before, duringFinally, setNextMethodInterceptor, setServiceBeanAopCacheManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceContextAdvice

public ServiceContextAdvice()
Method Detail

invoke

public Object invoke(org.aopalliance.intercept.MethodInvocation methodInvocation)
              throws Throwable
Specified by:
invoke in interface org.aopalliance.intercept.MethodInterceptor
Overrides:
invoke in class ChainableMethodAdvice
Throws:
Throwable

hasServiceContextParameter

protected boolean hasServiceContextParameter(Method method)

pushServiceContext

protected boolean pushServiceContext(org.aopalliance.intercept.MethodInvocation methodInvocation)

Liferay 7.0-ce-b4