public class CallStack extends java.util.Stack<Call>
| Constructor and Description |
|---|
CallStack() |
| Modifier and Type | Method and Description |
|---|---|
void |
addOperation(org.appops.core.service.meta.ServiceOpMeta operation)
Adds an invoked operation into call stack.
|
void |
callFinished()
Removes finished call from stack.
|
void |
failedWithException(java.lang.Exception e)
failedWithException.
|
protected Call |
getCaller()
Fetches the caller operation details.
|
org.appops.core.service.meta.ServiceOpMeta |
getCallerOperation()
Fetches the caller operation.
|
protected Call |
getCallOfOrigin()
Fetches the origin of invocation chain.
|
Call |
getCurrentCall()
Fetches current operation call information.
|
org.appops.core.service.meta.ServiceOpMeta |
getCurrentOperation()
Fetches current operation in invocation.
|
org.appops.core.service.meta.ServiceMeta |
getCurrentService() |
java.lang.String |
getCurrentServiceName() |
java.lang.Exception |
getFailureCause()
getFailureCause.
|
org.appops.core.service.meta.ServiceOpMeta |
getOperationOfOrigin()
Fetches origin of invocation chain.
|
org.appops.core.service.meta.ServiceMeta |
getServiceOfOrigin()
The first service in the chain.
|
java.lang.String |
getServiceOfOriginName()
The first service in the chain.
|
add, add, addAll, addAll, addElement, capacity, clear, clone, contains, containsAll, copyInto, elementAt, elements, ensureCapacity, equals, firstElement, forEach, get, hashCode, indexOf, indexOf, insertElementAt, isEmpty, iterator, lastElement, lastIndexOf, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeAllElements, removeElement, removeElementAt, removeIf, removeRange, replaceAll, retainAll, set, setElementAt, setSize, size, sort, spliterator, subList, toArray, toArray, toString, trimToSizepublic void addOperation(org.appops.core.service.meta.ServiceOpMeta operation)
operation - Operation instance which is invoked.public org.appops.core.service.meta.ServiceMeta getServiceOfOrigin()
public java.lang.String getServiceOfOriginName()
public org.appops.core.service.meta.ServiceMeta getCurrentService()
public java.lang.String getCurrentServiceName()
public void callFinished()
protected Call getCaller()
public org.appops.core.service.meta.ServiceOpMeta getCallerOperation()
protected Call getCallOfOrigin()
public Call getCurrentCall()
public org.appops.core.service.meta.ServiceOpMeta getCurrentOperation()
public org.appops.core.service.meta.ServiceOpMeta getOperationOfOrigin()
public void failedWithException(java.lang.Exception e)
failedWithException.
e - a Exception object.public java.lang.Exception getFailureCause()
getFailureCause.
Exception object.Copyright © 2022. All rights reserved.