Uses of Interface
net.bytebuddy.agent.ByteBuddyAgent.ProcessProvider
Packages that use ByteBuddyAgent.ProcessProvider
Package
Description
The Byte Buddy agent allows the redefinition of classes at runtime.
-
Uses of ByteBuddyAgent.ProcessProvider in net.bytebuddy.agent
Classes in net.bytebuddy.agent that implement ByteBuddyAgent.ProcessProviderModifier and TypeClassDescriptionstatic enum
Supplies the current VM's process id.protected static class
A process provider for a Java 9 capable VM with access to the introduced process API.protected static enum
A process provider for a legacy VM that reads the process id from its JMX properties.Fields in net.bytebuddy.agent declared as ByteBuddyAgent.ProcessProviderModifier and TypeFieldDescriptionprivate final ByteBuddyAgent.ProcessProvider
ByteBuddyAgent.ProcessProvider.ForCurrentVm.dispatcher
The best process provider for the current VM.Methods in net.bytebuddy.agent that return ByteBuddyAgent.ProcessProviderModifier and TypeMethodDescriptionByteBuddyAgent.ProcessProvider.ForCurrentVm.ForJava9CapableVm.make()
Attempts to create a dispatcher for a Java 9 VM and falls back to a legacy dispatcher if this is not possible.Methods in net.bytebuddy.agent with parameters of type ByteBuddyAgent.ProcessProviderModifier and TypeMethodDescriptionstatic void
ByteBuddyAgent.attach
(File agentJar, ByteBuddyAgent.ProcessProvider processProvider) 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) 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, ByteBuddyAgent.ProcessProvider processProvider) 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) 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, ByteBuddyAgent.ProcessProvider processProvider) Installs an agent on the currently running Java virtual machine using the supplied attachment provider and process provider.static Instrumentation
ByteBuddyAgent.install
(ByteBuddyAgent.ProcessProvider processProvider) Installs an agent on the Java virtual machine resolved by the process provider.