Class NoopTransactionConfigurator

java.lang.Object
enterprises.iwakura.sigewine.aop.sentry.TransactionConfigurator
enterprises.iwakura.sigewine.aop.sentry.NoopTransactionConfigurator

public final class NoopTransactionConfigurator extends TransactionConfigurator
A no-operation implementation of TransactionConfigurator. This configurator does nothing when the SentryTransaction annotation is used. It can be used as a default or fallback configurator when no specific configuration is needed.
  • Constructor Details

    • NoopTransactionConfigurator

      public NoopTransactionConfigurator()
  • Method Details

    • configure

      public void configure(SentryTransaction annotation, io.sentry.TransactionOptions txOptions, Class<?> callerClass, Method callerMethod, Object[] args)
      Description copied from class: TransactionConfigurator
      Configures the transaction options based on the provided annotation and method context.
      Specified by:
      configure in class TransactionConfigurator
      Parameters:
      annotation - the SentryTransaction annotation
      txOptions - the TransactionOptions to configure. If there's a transaction in the current scope, this should be treated this as a SpanOptions.
      callerClass - the class where the method is called from
      callerMethod - the method where the transaction is called
      args - the arguments passed to the method