Package io.micronaut.data.intercept
Interface DataInterceptor<T,R>
-
- Type Parameters:
T- The declaring typeR- The return type
- All Known Subinterfaces:
CountAsyncInterceptor<T>,CountInterceptor<T>,CountReactiveInterceptor<T,R>,DeleteAllAsyncInterceptor<T,R>,DeleteAllInterceptor<T>,DeleteAllReactiveInterceptor<T,R>,DeleteOneAsyncInterceptor<T,R>,DeleteOneInterceptor<T>,DeleteOneReactiveInterceptor<T,R>,ExistsByAsyncInterceptor<T>,ExistsByInterceptor<T>,ExistsByReactiveInterceptor<T,R>,FindAllAsyncInterceptor<T>,FindAllInterceptor<T,R>,FindAllReactiveInterceptor<T,R>,FindByIdAsyncInterceptor<T>,FindByIdInterceptor<T>,FindByIdReactiveInterceptor<T,R>,FindOneAsyncInterceptor<T>,FindOneInterceptor<T>,FindOneReactiveInterceptor<T,R>,FindOptionalInterceptor<T>,FindPageAsyncInterceptor<T>,FindPageInterceptor<T,R>,FindPageReactiveInterceptor<T,R>,FindSliceAsyncInterceptor<T>,FindSliceInterceptor<T,R>,FindSliceReactiveInterceptor<T,R>,FindStreamInterceptor<T>,IterableResultInterceptor<T,R>,SaveAllAsyncInterceptor<T>,SaveAllInterceptor<T,R>,SaveAllReactiveInterceptor<T,R>,SaveEntityAsyncInterceptor<T>,SaveEntityInterceptor<T>,SaveEntityReactiveInterceptor<T,R>,SaveOneAsyncInterceptor<T>,SaveOneInterceptor<T>,SaveOneReactiveInterceptor<T,R>,UpdateAllEntitiesInterceptor<T,R>,UpdateAllEntitiesReactiveInterceptor<T,R>,UpdateAllEntriesAsyncInterceptor<T,R>,UpdateAsyncInterceptor<T>,UpdateEntityAsyncInterceptor<T>,UpdateEntityInterceptor<T>,UpdateEntityReactiveInterceptor<T,R>,UpdateInterceptor<T>,UpdateReactiveInterceptor<T,R>
@Introspected public interface DataInterceptor<T,R>Marker interface for all Data related interceptors.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Rintercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<T,R> context)Intercepts a data method execution.
-
-
-
Method Detail
-
intercept
R intercept(RepositoryMethodKey methodKey, io.micronaut.aop.MethodInvocationContext<T,R> context)
Intercepts a data method execution.- Parameters:
methodKey- The method keycontext- The context- Returns:
- The result
-
-