Class MethodAsyncRunner


  • public final class MethodAsyncRunner
    extends Object
    Execute method asynchronously.

    It is an AspectJ aspect and you are not supposed to use it directly. It is instantiated by AspectJ runtime framework when your code is annotated with Async annotation.

    Since:
    0.16
    • Constructor Detail

      • MethodAsyncRunner

        public MethodAsyncRunner()
    • Method Detail

      • wrap

        public Object wrap​(org.aspectj.lang.ProceedingJoinPoint point)
        Execute method asynchronously.

        This aspect should be used only on void or Future 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