Class TracingDecoratorFactory.FilterFactory

java.lang.Object
org.forgerock.openig.decoration.tracing.TracingDecoratorFactory.FilterFactory
All Implemented Interfaces:
TracingDecoratorFactory<Filter>, Indexed<Class<Filter>>
Enclosing interface:
TracingDecoratorFactory<T>

public static class TracingDecoratorFactory.FilterFactory extends Object implements TracingDecoratorFactory<Filter>
A factory for wrapping a Filter.
  • Constructor Details

    • FilterFactory

      public FilterFactory()
  • Method Details

    • getKey

      public Class<Filter> getKey()
      Description copied from interface: Indexed
      Returns the unique key to index the object by.
      Specified by:
      getKey in interface Indexed<Class<Filter>>
      Returns:
      the unique key to index the object by.
    • wrap

      public Filter wrap(Filter delegate, String spanName, org.forgerock.openig.tracing.TracingProvider tracingProvider)
      Description copied from interface: TracingDecoratorFactory
      Wraps the decorator to be applied on the given object.
      Specified by:
      wrap in interface TracingDecoratorFactory<Filter>
      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.