Class AbstractDecorator
- java.lang.Object
-
- org.forgerock.openig.decoration.helper.AbstractDecorator
-
- All Implemented Interfaces:
Decorator
- Direct Known Subclasses:
AbstractHandlerAndFilterDecorator
,BaseUriDecorator
,CaptureDecorator
,TimerDecorator
public abstract class AbstractDecorator extends Object implements Decorator
This class provides a logger for decorators, according to the pattern: <decoratorClassname>.<decoratorName>.<decoratedObjectName>.
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractDecorator(String name)
Provides the decorator name.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.slf4j.Logger
getLogger(Context context)
Builds a logger based on the pattern <decoratorClassname>.<decoratorName>.<decoratedObjectName>.
-
-
-
Constructor Detail
-
AbstractDecorator
protected AbstractDecorator(String name)
Provides the decorator name.- Parameters:
name
- The name of the decorator.
-
-
Method Detail
-
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.
-
-