com.liferay.portal.messaging.async
Class AsyncAdvice
java.lang.Object
com.liferay.portal.spring.aop.ChainableMethodAdvice
com.liferay.portal.spring.aop.AnnotationChainableMethodAdvice<Async>
com.liferay.portal.messaging.async.AsyncAdvice
- All Implemented Interfaces:
- org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor
public class AsyncAdvice
- extends AnnotationChainableMethodAdvice<Async>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AsyncAdvice
public AsyncAdvice()
before
public Object before(org.aopalliance.intercept.MethodInvocation methodInvocation)
throws Throwable
- Overrides:
before
in class ChainableMethodAdvice
- Throws:
Throwable
getDefaultDestinationName
public String getDefaultDestinationName()
getNullAnnotation
public Async getNullAnnotation()
- Specified by:
getNullAnnotation
in class AnnotationChainableMethodAdvice<Async>
setDefaultDestinationName
public void setDefaultDestinationName(String defaultDestinationName)
setDestinationNames
public void setDestinationNames(Map<Class<?>,String> destinationNames)