Interface AgentBuilder.InjectionStrategy

    • Method Detail

      • resolve

        ClassInjector resolve​(@MaybeNull
                              java.lang.ClassLoader classLoader,
                              @MaybeNull
                              java.security.ProtectionDomain protectionDomain)
        Resolves the class injector to use for a given class loader and protection domain.
        Parameters:
        classLoader - The class loader to use or null if using the bootstrap loader.
        protectionDomain - The protection domain to use or null if all privileges should be assigned.
        Returns:
        The class injector to use.