Package io.opentelemetry.javaagent.spi
Interface BootstrapPackagesProvider
-
public interface BootstrapPackagesProvider
A service provider to allow adding classes from specified package prefixes to the bootstrap classloader. The classes in the bootstrap classloader are available to all instrumentations. This is useful if large number of custom instrumentations are using functionality from common packages.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getPackagePrefixes()
Classes from returned package prefixes will be available in the bootstrap classloader.
-