Package io.micronaut.scheduling.async
Class AsyncInterceptor
java.lang.Object
io.micronaut.scheduling.async.AsyncInterceptor
- All Implemented Interfaces:
Interceptor<Object,,Object> MethodInterceptor<Object,,Object> Ordered
@Singleton
@Internal
public class AsyncInterceptor
extends Object
implements MethodInterceptor<Object,Object>
Interceptor implementation for the
Async annotation.- Since:
- 1.0
- Author:
- graemerocher
-
Field Summary
Fields inherited from interface io.micronaut.aop.Interceptor
ARGUMENT, CACHEABLE_LAZY_TARGET, HOTSWAP, LAZY, PROXY_TARGETFields inherited from interface io.micronaut.core.order.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionintgetOrder()intercept(MethodInvocationContext<Object, Object> context) Extended version of theMethodInterceptor.intercept(InvocationContext)method that accepts aMethodInvocationContext.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.micronaut.aop.MethodInterceptor
intercept
-
Method Details
-
getOrder
public int getOrder() -
intercept
Description copied from interface:MethodInterceptorExtended version of theMethodInterceptor.intercept(InvocationContext)method that accepts aMethodInvocationContext.- Specified by:
interceptin interfaceMethodInterceptor<Object,Object> - Parameters:
context- The context- Returns:
- The result
-