Class AbstractDecorator

java.lang.Object
org.forgerock.openig.decoration.helper.AbstractDecorator
All Implemented Interfaces:
Decorator
Direct Known Subclasses:
AbstractHandlerAndFilterDecorator, BaseUriDecorator, CaptureDecorator, TimerDecorator, TracingDecorator

public abstract class AbstractDecorator extends Object implements Decorator
This class provides a logger for decorators, according to the pattern: <decoratorClassname>.<decoratorName>.<decoratedObjectName>.
  • Constructor Details

    • AbstractDecorator

      protected AbstractDecorator(String name)
      Provides the decorator name.
      Parameters:
      name - The name of the decorator.
  • Method Details

    • getLogger

      protected org.slf4j.Logger getLogger(Context context)
      Builds a logger based on the pattern <decoratorClassname>.<decoratorName>.<decoratedObjectName>.
      Parameters:
      context - The decoration context.
      Returns:
      A logger.