Package io.sentry.spring.checkin
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioninvoke
(@NotNull org.aopalliance.intercept.MethodInvocation invocation) void
setEmbeddedValueResolver
(org.springframework.util.StringValueResolver resolver)
-
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 interfaceorg.aopalliance.intercept.MethodInterceptor
- Throws:
Throwable
-
setEmbeddedValueResolver
public void setEmbeddedValueResolver(org.springframework.util.StringValueResolver resolver) - Specified by:
setEmbeddedValueResolver
in interfaceorg.springframework.context.EmbeddedValueResolverAware
-