Package com.jcabi.aspects.aj
Class MethodAsyncRunner
- java.lang.Object
-
- com.jcabi.aspects.aj.MethodAsyncRunner
-
-
Constructor Summary
Constructors Constructor Description MethodAsyncRunner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
wrap(org.aspectj.lang.ProceedingJoinPoint point)
Execute method asynchronously.
-
-
-
Method Detail
-
wrap
public Object wrap(org.aspectj.lang.ProceedingJoinPoint point)
Execute method asynchronously.This aspect should be used only on
void
orFuture
returning methods.Try NOT to change the signature of this method, in order to keep it backward compatible.
- Parameters:
point
- Joint point- Returns:
- The result of call
-
-