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 Detail

      • getPackagePrefixes

        List<String> getPackagePrefixes()
        Classes from returned package prefixes will be available in the bootstrap classloader.
        Returns:
        package prefixes.