public class InterceptionDecorationContext extends Object
CombinedInterceptorAndDecoratorStackMethodHandler
references for which interception is currently
suppressed (so that self-invocation is not possible).
Such references are added as soon as a CombinedMethodHandler is executed in an interception context that
does not hold it.
Classes may create new interception contexts as necessary (e.g. allowing client proxies to create new interception
contexts in order to make circular references interceptable multiple times).Modifier and Type | Method and Description |
---|---|
static boolean |
empty() |
static void |
endInterceptorContext() |
static Set<CombinedInterceptorAndDecoratorStackMethodHandler> |
peek() |
static boolean |
pushIfNotOnTop(Set<CombinedInterceptorAndDecoratorStackMethodHandler> context)
Pushes the given context to the stack if the given context is not on top of the stack already.
|
static void |
startInterceptorContext() |
public static Set<CombinedInterceptorAndDecoratorStackMethodHandler> peek()
public static boolean empty()
public static void endInterceptorContext()
public static void startInterceptorContext()
public static boolean pushIfNotOnTop(Set<CombinedInterceptorAndDecoratorStackMethodHandler> context)
endInterceptorContext()
after the invocation finishes.context
- the given contextCopyright © 2016. All rights reserved.