public class PathTrackingListener extends ConfigurableListener
DEFAULT_EXCLUDES, DEFAULT_INCLUDES
Constructor and Description |
---|
PathTrackingListener() |
Modifier and Type | Method and Description |
---|---|
boolean |
accept(String key,
byte[] rawClassBuffer) |
void |
after(AgentContext context,
Object result,
Throwable error)
will call
PathTracker.stop(Object reference) |
void |
before(AgentContext context)
executed before method called to configure the start
PathTrackingInformation
and set various thread local variable as invocation level
will call PathTracker.start(PathTrackingInformation, Object) |
before, onError, onSuccess, setExcludes, setIncludes
public boolean accept(String key, byte[] rawClassBuffer)
accept
in interface InvocationListener
accept
in class ConfigurableListener
key
- has the format of fqcn.methodNamerawClassBuffer
- class being trasformedpublic void before(AgentContext context)
PathTrackingInformation
and set various thread local variable as invocation level
will call PathTracker.start(PathTrackingInformation, Object)
before
in interface InvocationListener
before
in class ConfigurableListener
context
- public void after(AgentContext context, Object result, Throwable error)
PathTracker.stop(Object reference)
after
in interface InvocationListener
after
in class ConfigurableListener
context
- result
- error
- Copyright © 2008–2016 The Apache Software Foundation. All rights reserved.