Class SentryTransactionAdvice

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

    @Internal
    public class SentryTransactionAdvice
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      SentryTransactionAdvice​(@NotNull io.sentry.IHub hub)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Object invoke​(@NotNull org.aopalliance.intercept.MethodInvocation invocation)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SentryTransactionAdvice

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

      • invoke

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