Interface TracingDecoratorFactory<T>

Type Parameters:
T - The type that the TracingDecorator decorates.
All Superinterfaces:
Indexed<Class<T>>
All Known Implementing Classes:
TracingDecoratorFactory.AuditServiceFactory, TracingDecoratorFactory.FilterFactory, TracingDecoratorFactory.HandlerFactory

public interface TracingDecoratorFactory<T> extends Indexed<Class<T>>
A factory for the TracingDecorator.
  • Method Details

    • wrap

      T wrap(T delegate, String spanName, org.forgerock.openig.tracing.TracingProvider tracingProvider)
      Wraps the decorator to be applied on the given object.
      Parameters:
      delegate - The object to decorate with the TracingDecorator.
      spanName - The name of the Span to create.
      tracingProvider - The TracingProvider.
      Returns:
      The type of the decorated object.