public class BrowserStackJavaAgent extends Object
| Constructor and Description |
|---|
BrowserStackJavaAgent() |
| Modifier and Type | Method and Description |
|---|---|
static void |
agentmain(String agentArgs,
Instrumentation instrumentation) |
static Map<String,Object> |
convertYamlFileToMap(File yamlFile,
Map<String,Object> map) |
static String |
extractClassPathJarVersion(JarFile jarFile,
String jarName,
String classPathString,
String versionNumber) |
static void |
premain(String agentArgs,
Instrumentation instrumentation)
As soon as the JVM initializes, This method will be called.
|
public static void premain(String agentArgs, Instrumentation instrumentation) throws Exception
agentArgs - The list of agent argumentsinstrumentation - The instrumentation objectInstantiationException - While an instantiation of object cause an error.Exceptionpublic static void agentmain(String agentArgs, Instrumentation instrumentation) throws Exception
Exceptionpublic static String extractClassPathJarVersion(JarFile jarFile, String jarName, String classPathString, String versionNumber)
Copyright © 2022. All rights reserved.