public interface ThreadContextListenerChain
Modifier and Type | Method and Description |
---|---|
void |
addListener(ThreadContextListener listener)
Adds a
ThreadContextListener . |
List<ThreadContextListener> |
getListenersOrderedByPriority()
Returns all listeners (including default listeners) by priority.
|
void |
removeListener(int listenerPriority)
Removes a
ThreadContextListener by its priority. |
void addListener(@Nonnull ThreadContextListener listener)
ThreadContextListener
.listener
- The default listener to be added.void removeListener(int listenerPriority)
ThreadContextListener
by its priority.listenerPriority
- The priority of the listeners to be removed.@Nonnull List<ThreadContextListener> getListenersOrderedByPriority()
Copyright © 2019 SAP SE. All rights reserved.