public class Tracer extends Object implements OperationCallback
| Modifier and Type | Field and Description | 
|---|---|
protected TracerFactory | 
factory  | 
protected Stack<org.nuxeo.ecm.automation.core.trace.Tracer.Context> | 
stack  | 
| Modifier | Constructor and Description | 
|---|---|
protected  | 
Tracer(TracerFactory factory)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
onChainEnter(OperationType chain)  | 
void | 
onChainExit()  | 
OperationException | 
onError(OperationException error)  | 
void | 
onOperationEnter(OperationContext context,
                OperationType type,
                InvokableMethod method,
                Map<String,Object> params)  | 
void | 
onOperationExit(Object output)  | 
protected void | 
popContext()  | 
protected void | 
pushContext(OperationType chain)  | 
protected final TracerFactory factory
protected Tracer(TracerFactory factory)
protected void pushContext(OperationType chain)
protected void popContext()
public void onChainEnter(OperationType chain)
onChainEnter in interface OperationCallbackpublic void onChainExit()
onChainExit in interface OperationCallbackpublic void onOperationEnter(OperationContext context, OperationType type, InvokableMethod method, Map<String,Object> params)
onOperationEnter in interface OperationCallbackpublic void onOperationExit(Object output)
onOperationExit in interface OperationCallbackpublic OperationException onError(OperationException error)
onError in interface OperationCallbackCopyright © 2019 Nuxeo. All rights reserved.