Class SentryTransactionAdvice

java.lang.Object
io.sentry.spring.tracing.SentryTransactionAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor

@Internal public class SentryTransactionAdvice extends Object implements org.aopalliance.intercept.MethodInterceptor
Reports execution of every bean method annotated with SentryTransaction or a execution of a bean method within a class annotated with SentryTransaction.
  • Constructor Details

    • SentryTransactionAdvice

      public SentryTransactionAdvice()
    • SentryTransactionAdvice

      public SentryTransactionAdvice(@NotNull @NotNull io.sentry.IHub hub)
  • Method Details

    • invoke

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