Class ShippedToolsJarProvider

  • All Implemented Interfaces:
    net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider

    public class ShippedToolsJarProvider
    extends Object
    implements net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider
    This is an implementation of the ByteBuddyAgent.AttachmentProvider that uses the tools jar that we ship with the agent.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider

        net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider.Accessor, net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider.Compound, net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider.ForEmulatedAttachment, net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider.ForJ9Vm, net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider.ForModularizedVm, net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm, net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar
    • Field Summary

      • Fields inherited from interface net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider

        DEFAULT
    • Constructor Detail

      • ShippedToolsJarProvider

        public ShippedToolsJarProvider​(File tools)
        Create a new provider.
        Parameters:
        tools - the file object for the tools jar to use
    • Method Detail

      • attempt

        public net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider.Accessor attempt()
        Specified by:
        attempt in interface net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider