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 OperationCallback
public void onChainExit()
onChainExit
in interface OperationCallback
public void onOperationEnter(OperationContext context, OperationType type, InvokableMethod method, Map<String,Object> params)
onOperationEnter
in interface OperationCallback
public void onOperationExit(Object output)
onOperationExit
in interface OperationCallback
public OperationException onError(OperationException error)
onError
in interface OperationCallback
Copyright © 2019 Nuxeo. All rights reserved.