public static class CallTraceServiceImpl.CTState extends Object
Constructor and Description |
---|
CallTraceServiceImpl.CTState() |
Modifier and Type | Method and Description |
---|---|
void |
add(ActivityUnit au)
This method adds the supplied activity unit to the
state information.
|
void |
finalizeScope()
This method finalizes the set of tasks within the current
task list and then pops the relevant stacks.
|
ActivityUnit |
getActivityUnit(String id)
This method returns the activity unit associated with
the supplied id.
|
List<ActivityUnit> |
getActivityUnits()
This method returns the list of activity units.
|
List<ActivityUnit> |
getActivityUnits(Context context)
This method returns the list of activity units containing
the specified context.
|
Stack<Call> |
getCallStack()
This method returns the call stack.
|
Stack<Call> |
getCompletedCallStack()
This method returns the completed call stack.
|
CallTraceServiceImpl.ActivityUnitCursor |
getCursor(ActivityUnit au)
This method returns the cursor associated with the
supplied activity unit.
|
protected RPCActivityType |
getSOAActivity(Class<?> cls,
String serviceType,
String operation)
This method identifies the RPC activity associated with the
specified class, service type and operation.
|
Stack<List<TraceNode>> |
getTasksStack()
This method returns the tasks stack.
|
Map<Call,RPCActivityType> |
getTriggerActivities()
This method returns the map of call to trigger activity.
|
void |
initialized(Context context)
This method indicates that the supplied context
has now been initialized.
|
boolean |
isActivityUnitLoaded(String id)
This method determines whether the activity unit,
associated with the supplied id, has already been loaded.
|
boolean |
isContextInitialized(Context context)
This method determines whether the supplied context
is already initialized.
|
boolean |
isLinkProcessed(Context context)
This method determines if the supplied link
context has been processed.
|
void |
linkProcessed(Context context)
This method records the fact that the link has been processed.
|
void |
sortActivityUnitsByTime()
This method sorts the list of activity units
based on time.
|
public boolean isContextInitialized(Context context)
context
- The context to checkpublic void initialized(Context context)
context
- The contextpublic boolean isLinkProcessed(Context context)
context
- The link contextpublic void linkProcessed(Context context)
context
- The link contextpublic boolean isActivityUnitLoaded(String id)
id
- The idpublic void add(ActivityUnit au)
au
- The activity unitpublic List<ActivityUnit> getActivityUnits()
public List<ActivityUnit> getActivityUnits(Context context)
context
- The contextpublic Map<Call,RPCActivityType> getTriggerActivities()
public ActivityUnit getActivityUnit(String id)
id
- The idpublic CallTraceServiceImpl.ActivityUnitCursor getCursor(ActivityUnit au)
au
- The activity unitpublic void sortActivityUnitsByTime()
public Stack<Call> getCallStack()
public Stack<Call> getCompletedCallStack()
public Stack<List<TraceNode>> getTasksStack()
public void finalizeScope()
protected RPCActivityType getSOAActivity(Class<?> cls, String serviceType, String operation)
cls
- The classserviceType
- The service typeoperation
- The operationCopyright © 2013-2015 JBoss by Red Hat. All Rights Reserved.