public final class InvocationStack extends Object
Invocation
s. This stack assumes an invocation
occurs in the same thread since it is called first, so we manages stacks
for each invocation in ThreadLocal
-like manner. You can just use
getInstance()
to get current invocation stack.Modifier and Type | Method and Description |
---|---|
static InvocationStack |
getInstance()
Returns the invocation stack of current thread.
|
boolean |
isEmpty()
Returns true if the stack is empty false otherwise.
|
OperationContext |
peek()
Returns the latest invocation.
|
OperationContext |
pop()
Pops the latest invocation from this stack.
|
void |
push(OperationContext opContext)
Pushes the specified invocation to this stack.
|
OperationContext[] |
toArray()
Returns an array of
Invocation s. |
public static InvocationStack getInstance()
public OperationContext[] toArray()
Invocation
s. 0th element is the
latest invocation.public OperationContext peek()
public boolean isEmpty()
public void push(OperationContext opContext)
public OperationContext pop()
Copyright © 2003–2013 The Apache Software Foundation. All rights reserved.