public interface ThreadContextDecoratorChain
Modifier and Type | Method and Description |
---|---|
void |
addDecorator(ThreadContextDecorator decorator)
Adds a
ThreadContextDecorator . |
List<ThreadContextDecorator> |
getDecoratorsOrderedByPriority()
Returns all decorators (including default decorators) by priority.
|
void |
removeDecorator(int decoratorPriority)
Removes a
ThreadContextDecorator by its priority. |
void addDecorator(@Nonnull ThreadContextDecorator decorator)
ThreadContextDecorator
.decorator
- The default decorator to be added.void removeDecorator(int decoratorPriority)
ThreadContextDecorator
by its priority.decoratorPriority
- The priority of the decorator to be removed.@Nonnull List<ThreadContextDecorator> getDecoratorsOrderedByPriority()
Copyright © 2020 SAP SE. All rights reserved.