Uses of Interface
net.bytebuddy.agent.ByteBuddyAgent.AttachmentProvider
Packages that use ByteBuddyAgent.AttachmentProvider
Package
Description
The Byte Buddy agent allows the redefinition of classes at runtime.
-
Uses of ByteBuddyAgent.AttachmentProvider in net.bytebuddy.agent
Classes in net.bytebuddy.agent that implement ByteBuddyAgent.AttachmentProviderModifier and TypeClassDescriptionstatic class
A compound attachment provider that attempts the attachment by delegation to other providers.static enum
An attachment provider that uses Byte Buddy's attachment API emulation.static enum
An attachment provider that locates the attach API directly from the system class loader expecting an IBM J9 VM.static enum
An attachment provider that locates the attach API directly from the system class loader, as possible since introducing the Java module system via thejdk.attach
module.static enum
An attachment provider that is dependant on the existence of a tools.jar file on the local file system.static enum
An attachment provider that attempts to locate atools.jar
from a custom location set via a system property.Fields in net.bytebuddy.agent declared as ByteBuddyAgent.AttachmentProviderModifier and TypeFieldDescriptionstatic final ByteBuddyAgent.AttachmentProvider
ByteBuddyAgent.AttachmentProvider.DEFAULT
The default attachment provider to be used.Fields in net.bytebuddy.agent with type parameters of type ByteBuddyAgent.AttachmentProviderModifier and TypeFieldDescriptionprivate final List
<ByteBuddyAgent.AttachmentProvider> ByteBuddyAgent.AttachmentProvider.Compound.attachmentProviders
A list of attachment providers in the order of their application.Methods in net.bytebuddy.agent with parameters of type ByteBuddyAgent.AttachmentProviderModifier and TypeMethodDescriptionstatic void
ByteBuddyAgent.attach
(File agentJar, String processId, String argument, ByteBuddyAgent.AttachmentProvider attachmentProvider) Attaches the given agent Jar on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attach
(File agentJar, String processId, ByteBuddyAgent.AttachmentProvider attachmentProvider) Attaches the given agent Jar on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attach
(File agentJar, ByteBuddyAgent.ProcessProvider processProvider, String argument, ByteBuddyAgent.AttachmentProvider attachmentProvider) Attaches the given agent Jar on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attach
(File agentJar, ByteBuddyAgent.ProcessProvider processProvider, ByteBuddyAgent.AttachmentProvider attachmentProvider) Attaches the given agent Jar on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attachNative
(File agentLibrary, String processId, String argument, ByteBuddyAgent.AttachmentProvider attachmentProvider) Attaches the given agent library on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attachNative
(File agentLibrary, String processId, ByteBuddyAgent.AttachmentProvider attachmentProvider) Attaches the given agent library on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attachNative
(File agentLibrary, ByteBuddyAgent.ProcessProvider processProvider, String argument, ByteBuddyAgent.AttachmentProvider attachmentProvider) Attaches the given agent library on the target process which must be a virtual machine process.static void
ByteBuddyAgent.attachNative
(File agentLibrary, ByteBuddyAgent.ProcessProvider processProvider, ByteBuddyAgent.AttachmentProvider attachmentProvider) Attaches the given agent library on the target process which must be a virtual machine process.static Instrumentation
ByteBuddyAgent.install
(ByteBuddyAgent.AttachmentProvider attachmentProvider) Installs an agent on the currently running Java virtual machine using the supplied attachment provider.private static void
ByteBuddyAgent.install
(ByteBuddyAgent.AttachmentProvider attachmentProvider, String processId, String argument, ByteBuddyAgent.AgentProvider agentProvider, boolean isNative) Installs a Java agent on a target VM.static Instrumentation
ByteBuddyAgent.install
(ByteBuddyAgent.AttachmentProvider attachmentProvider, ByteBuddyAgent.ProcessProvider processProvider) Installs an agent on the currently running Java virtual machine using the supplied attachment provider and process provider.Constructors in net.bytebuddy.agent with parameters of type ByteBuddyAgent.AttachmentProviderModifierConstructorDescriptionCompound
(ByteBuddyAgent.AttachmentProvider... attachmentProvider) Creates a new compound attachment provider.Constructor parameters in net.bytebuddy.agent with type arguments of type ByteBuddyAgent.AttachmentProviderModifierConstructorDescriptionCompound
(List<? extends ByteBuddyAgent.AttachmentProvider> attachmentProviders) Creates a new compound attachment provider.