Interface BootstrapPackagesConfigurer
public interface BootstrapPackagesConfigurer
This 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/services resource directory.
-
Method Summary
Modifier and TypeMethodDescriptionvoidconfigure(BootstrapPackagesBuilder builder, io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config) Configure the passedbuilderand define which classes should always be loaded by the bootstrap class loader.
-
Method Details
-
configure
void configure(BootstrapPackagesBuilder builder, io.opentelemetry.sdk.autoconfigure.spi.ConfigProperties config) Configure the passedbuilderand define which classes should always be loaded by the bootstrap class loader.
-