Class TracingDecoratorFactory.HandlerFactory
java.lang.Object
org.forgerock.openig.decoration.tracing.TracingDecoratorFactory.HandlerFactory
- All Implemented Interfaces:
TracingDecoratorFactory<Handler>,Indexed<Class<Handler>>
- Enclosing interface:
- TracingDecoratorFactory<T>
public static class TracingDecoratorFactory.HandlerFactory
extends Object
implements TracingDecoratorFactory<Handler>
A factory for wrapping a
Handler.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.forgerock.openig.decoration.tracing.TracingDecoratorFactory
TracingDecoratorFactory.AuditServiceFactory, TracingDecoratorFactory.FilterFactory, TracingDecoratorFactory.HandlerFactory -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
HandlerFactory
public HandlerFactory()
-
-
Method Details
-
getKey
Description copied from interface:IndexedReturns the unique key to index the object by. -
wrap
public Handler wrap(Handler delegate, String spanName, org.forgerock.openig.tracing.TracingProvider tracingProvider) Description copied from interface:TracingDecoratorFactoryWraps the decorator to be applied on the given object.- Specified by:
wrapin interfaceTracingDecoratorFactory<Handler>- Parameters:
delegate- The object to decorate with theTracingDecorator.spanName- The name of theSpanto create.tracingProvider- TheTracingProvider.- Returns:
- The type of the decorated object.
-