Package net.bytebuddy.agent
The Byte Buddy agent allows the redefinition of classes at runtime.
-
Interface Summary Interface Description ByteBuddyAgent.AgentProvider An agent provider is responsible for handling and providing the jar file of an agent that is being attached.ByteBuddyAgent.AttachmentProvider An attachment provider is responsible for making the Java attachment API available.ByteBuddyAgent.AttachmentProvider.Accessor An accessor for a JVM's attachment API.ByteBuddyAgent.AttachmentTypeEvaluator An attachment evaluator is responsible for deciding if an agent can be attached from the current process.ByteBuddyAgent.ProcessProvider A process provider is responsible for providing the process id of the current VM.VirtualMachine An implementation for attachment on a virtual machine. -
Class Summary Class Description Attacher A Java program that attaches a Java agent to an external process.ByteBuddyAgent The Byte Buddy agent provides a JVMInstrumentation
in order to allow Byte Buddy the redefinition of already loaded classes.ByteBuddyAgent.AgentProvider.ForExistingAgent An agent provider that supplies an existing agent that is not deleted after attachment.ByteBuddyAgent.AttachmentProvider.Accessor.ExternalAttachment Describes an external attachment to a Java virtual machine.ByteBuddyAgent.AttachmentProvider.Accessor.Simple A simple implementation of an accessible accessor.ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithExternalAttachment A simple implementation of an accessible accessor that allows for external attachment.ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithoutExternalAttachment A simple implementation of an accessible accessor that does not allow for external attachment.ByteBuddyAgent.AttachmentProvider.Compound A compound attachment provider that attempts the attachment by delegation to other providers.ByteBuddyAgent.AttachmentTypeEvaluator.ForJava9CapableVm An attachment type evaluator that checks a process id against the current process id.ByteBuddyAgent.ProcessProvider.ForCurrentVm.ForJava9CapableVm A process provider for a Java 9 capable VM with access to the introduced process API.Installer An installer class which defined the hook-in methods that are required by the Java agent specification.VirtualMachine.ForHotSpot A virtual machine implementation for a HotSpot VM or any compatible VM.VirtualMachine.ForHotSpot.OnUnix A virtual machine implementation for a HotSpot VM running on Unix. -
Enum Summary Enum Description ByteBuddyAgent.AgentProvider.ForByteBuddyAgent An agent provider for a temporary Byte Buddy agent.ByteBuddyAgent.AttachmentProvider.Accessor.Unavailable A canonical implementation of an unavailable accessor.ByteBuddyAgent.AttachmentProvider.ForJ9Vm An attachment provider that locates the attach API directly from the system class loader expecting an IBM J9 VM.ByteBuddyAgent.AttachmentProvider.ForJigsawVm An attachment provider that locates the attach API directly from the system class loader.ByteBuddyAgent.AttachmentProvider.ForToolsJarVm An attachment provider that is dependant on the existence of a tools.jar file on the local file system.ByteBuddyAgent.AttachmentProvider.ForUnixHotSpotVm An attachment provider using a custom protocol implementation for HotSpot on Unix.ByteBuddyAgent.AttachmentTypeEvaluator.Disabled An attachment type evaluator that never requires external attachment.ByteBuddyAgent.AttachmentTypeEvaluator.InstallationAction An installation action for creating an attachment type evaluator.ByteBuddyAgent.ProcessProvider.ForCurrentVm Supplies the current VM's process id.ByteBuddyAgent.ProcessProvider.ForCurrentVm.ForLegacyVm A process provider for a legacy VM that reads the process id from its JMX properties.