Class AuthorCreatorServiceInterceptor

java.lang.Object
com.atlassian.bamboo.author.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 Details

    • AuthorCreatorServiceInterceptor

      public AuthorCreatorServiceInterceptor(AuthorCreatorService authorCreatorService)
  • Method Details

    • invoke

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