Class InvocationHolder
- java.lang.Object
-
- org.oxerr.vividseats.client.cxf.impl.support.InvocationHolder
-
public final class InvocationHolder extends Object
Holds aInvocationin aThreadLocalfor tracking method calls and arguments.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static voidclear()Clears the invocation from the current thread.static Invocationget()Gets the current method invocation.static voidset(Method method, Object[] args)Stores the current method invocation context.
-
-
-
Method Detail
-
set
public static void set(Method method, Object[] args)
Stores the current method invocation context.- Parameters:
method- the invoked methodargs- the method arguments
-
get
public static Invocation get()
Gets the current method invocation.- Returns:
- the invocation or
nullif none is set
-
clear
public static void clear()
Clears the invocation from the current thread.
-
-