Methods Summary |
---|
public void | beginCall(java.lang.reflect.Method m, java.lang.Object[] args)
Call call = new Call(m, args);
beginCall(call);
|
public void | beginCall(Call call)
callStack.push(call);
|
public void | endCall()
Call call = (Call)callStack.pop();
if (!call.getState().isFinished()) {
call.setState(CallState.SUCCESS);
}
|
public void | endCallWithError(java.lang.Throwable th)
Call call = (Call)callStack.peek();
call.setState(CallState.FAILED);
call.setFailureReason(th);
endCall();
|
public Call | getActiveCall()
return (Call)callStack.peek();
|
public java.util.Iterator | getCallStack()
return callStack.iterator();
|
public int | getStackSize()
return callStack.size();
|