Class TracingDecoratorFactory.AuditServiceFactory
java.lang.Object
org.forgerock.openig.decoration.tracing.TracingDecoratorFactory.AuditServiceFactory
- All Implemented Interfaces:
TracingDecoratorFactory<AuditService>,Indexed<Class<AuditService>>
- Enclosing interface:
- TracingDecoratorFactory<T>
public static class TracingDecoratorFactory.AuditServiceFactory
extends Object
implements TracingDecoratorFactory<AuditService>
A factory for wrapping an
AuditService.-
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
Modifier and TypeMethodDescriptiongetKey()Returns the unique key to index the object by.wrap(AuditService delegate, String spanName, org.forgerock.openig.tracing.TracingProvider tracingProvider) Wraps the decorator to be applied on the given object.
-
Constructor Details
-
AuditServiceFactory
public AuditServiceFactory()
-
-
Method Details
-
getKey
Description copied from interface:IndexedReturns the unique key to index the object by.- Specified by:
getKeyin interfaceIndexed<Class<AuditService>>- Returns:
- the unique key to index the object by.
-
wrap
public AuditService wrap(AuditService 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<AuditService>- Parameters:
delegate- The object to decorate with theTracingDecorator.spanName- The name of theSpanto create.tracingProvider- TheTracingProvider.- Returns:
- The type of the decorated object.
-