Class AuthorCreatorServiceInterceptor

  • All Implemented Interfaces:
    org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

    public class AuthorCreatorServiceInterceptor
    extends Object
    implements org.aopalliance.intercept.MethodInterceptor
    Intercepts any methods that have a BuildContext argument and calls AuthorCreatorService.createMissingAuthors(BuildContext)
    • Constructor Detail

      • AuthorCreatorServiceInterceptor

        public AuthorCreatorServiceInterceptor​(AuthorCreatorService authorCreatorService)
    • Method Detail

      • invoke

        @Nullable
        public @Nullable Object invoke​(org.aopalliance.intercept.MethodInvocation invocation)
                                throws Throwable
        Specified by:
        invoke in interface org.aopalliance.intercept.MethodInterceptor
        Throws:
        Throwable