Skip to content

Commit

Permalink
add java doc
Browse files Browse the repository at this point in the history
  • Loading branch information
EddeCCC committed Sep 24, 2024
1 parent 6de21c9 commit 2786d57
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,11 @@
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
* This manager should append our bootstrap classes to the bootstrap classloader, so there are
* accessible globally in the target application as well as this agent.
*/
public class InspectitBootstrapManager {

private static final Logger log = LoggerFactory.getLogger(InspectitBootstrapManager.class);

private static final String INSPECTIT_BOOTSTRAP_JAR_PATH = "/inspectit-gepard-bootstrap.jar";
Expand All @@ -21,6 +24,7 @@ public class InspectitBootstrapManager {

private InspectitBootstrapManager() {}

/** Appends our inspectit-gepard-bootstrap.jar to the bootstrap-classloader */
public static synchronized void appendToBootstrapClassLoader() {
Instrumentation instrumentation = InstrumentationHolder.getInstrumentation();
try {
Expand Down

0 comments on commit 2786d57

Please sign in to comment.