public class TraceAnnotationsManager extends Object
| Constructor and Description |
|---|
TraceAnnotationsManager() |
| Modifier and Type | Method and Description |
|---|---|
static void |
initialize(org.jboss.byteman.agent.Retransformer trans)
This method initializes the manager.
|
static void |
loadAnnotationsRules(ClassLoader classLoader)
Find all the methods annoted with @Trace and inject rules
|
static List<String> |
loadRules(ClassLoader classLoader)
This method loads any OpenTracing Agent rules (otarules.btm) found as resources
within the supplied classloader.
|
static void |
uninstallScripts(List<String> installedScripts,
List<String> patterns)
Uninstall some scripts from a list of patterns.
|
public static void initialize(org.jboss.byteman.agent.Retransformer trans)
throws Exception
trans - The ByteMan retransformerExceptionpublic static void uninstallScripts(List<String> installedScripts, List<String> patterns) throws Exception
installedScripts - patterns - not case sensitive (eg. "mongo", "apache http", "elasticsearch", etc...])Exceptionpublic static List<String> loadRules(ClassLoader classLoader)
classLoader - The classloaderpublic static void loadAnnotationsRules(ClassLoader classLoader)
classLoader - Copyright © 2017. All rights reserved.