Interface BootstrapPackagesConfigurer
-
public interface BootstrapPackagesConfigurerThis SPI can be used to define which packages/classes belong to the bootstrap class loader: all packages configured here will always be loaded by the bootstrap class loader, even if class loader that initiated loading of the class does not normally delegate to bootstrap class loader.IMPORTANT: This SPI cannot add new packages to the bootstrap CL, it only defines those that are already there - the purpose is to make sure they're loaded by the correct class loader.
This is a service provider interface that requires implementations to be registered in a provider-configuration file stored in the
META-INF/servicesresource directory.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidconfigure(io.opentelemetry.instrumentation.api.config.Config config, BootstrapPackagesBuilder builder)Configure the passedbuilderand define which classes should always be loaded by the bootstrap class loader.
-
-
-
Method Detail
-
configure
void configure(io.opentelemetry.instrumentation.api.config.Config config, BootstrapPackagesBuilder builder)Configure the passedbuilderand define which classes should always be loaded by the bootstrap class loader.
-
-