Class SentryCheckInAdvice

java.lang.Object
io.sentry.spring.checkin.SentryCheckInAdvice
All Implemented Interfaces:
org.aopalliance.aop.Advice, org.aopalliance.intercept.Interceptor, org.aopalliance.intercept.MethodInterceptor, org.springframework.beans.factory.Aware, org.springframework.context.EmbeddedValueResolverAware

@Internal @Experimental public class SentryCheckInAdvice extends Object implements org.aopalliance.intercept.MethodInterceptor, org.springframework.context.EmbeddedValueResolverAware
Reports execution of every bean method annotated with SentryCheckIn as a monitor check-in.
  • Constructor Details

    • SentryCheckInAdvice

      public SentryCheckInAdvice()
    • SentryCheckInAdvice

      public SentryCheckInAdvice(@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
    • setEmbeddedValueResolver

      public void setEmbeddedValueResolver(org.springframework.util.StringValueResolver resolver)
      Specified by:
      setEmbeddedValueResolver in interface org.springframework.context.EmbeddedValueResolverAware