Class BootstrapPackagePrefixesHolder
- java.lang.Object
-
- io.opentelemetry.instrumentation.api.internal.BootstrapPackagePrefixesHolder
-
public class BootstrapPackagePrefixesHolder extends Object
BootstrapPackagePrefixesHolderis an utility class that holds package prefixes. The classes from these packages are pushed to the bootstrap classloader.The prefixes are loaded by
AgentInstallerand consumed by classloader instrumentation. The instrumentation does not have access to the installer, therefore this utility class is used to share package prefixes.
-
-
Constructor Summary
Constructors Constructor Description BootstrapPackagePrefixesHolder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<String>getBoostrapPackagePrefixes()static voidsetBoostrapPackagePrefixes(List<String> prefixes)
-