com.liferay.portal.service
Class ServiceContextAdvice
java.lang.Object
com.liferay.portal.spring.aop.ChainableMethodAdvice
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServiceContextAdvice
public ServiceContextAdvice()
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)