Class AgentBuilder.Default.BootstrapInjectionStrategy.Enabled

    • Field Detail

      • folder

        private final java.io.File folder
        The folder in which jar files are to be saved.
      • instrumentation

        private final java.lang.instrument.Instrumentation instrumentation
        The instrumentation to use for appending jar files.
    • Constructor Detail

      • Enabled

        public Enabled​(java.io.File folder,
                       java.lang.instrument.Instrumentation instrumentation)
        Creates a new enabled bootstrap class loader injection strategy.
        Parameters:
        folder - The folder in which jar files are to be saved.
        instrumentation - The instrumentation to use for appending jar files.
    • Method Detail

      • make

        public ClassInjector make​(java.security.ProtectionDomain protectionDomain)
        Creates an injector for the bootstrap class loader.
        Specified by:
        make in interface AgentBuilder.Default.BootstrapInjectionStrategy
        Parameters:
        protectionDomain - The protection domain to be used.
        Returns:
        A class injector for the bootstrap class loader.