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.VirtualMachine.ForHotSpot.Connection Represents a connection to a virtual machine.VirtualMachine.ForHotSpot.Connection.Factory A factory for creating connections to virtual machines.VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket.Factory.MacLibrary A library for reading a Mac user's temporary directory.VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket.PosixLibrary A JNA library binding for Posix sockets.VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary A library for interacting with Solaris.VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsAttachLibrary A library for interacting with Windows.VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.WindowsLibrary A library for interacting with Windows.VirtualMachine.ForHotSpot.Connection.Response A response to an execution command to a VM.VirtualMachine.ForOpenJ9.Dispatcher A dispatcher for native operations being used for communication with an OpenJ9 virtual machine.VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixLibrary An API for interaction with POSIX systems.VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary A library for interacting with Windows. -
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.WithDirectAttachment A simple implementation of an accessible accessor that attaches using a virtual machine emulation that does not require external attachment.ByteBuddyAgent.AttachmentProvider.Accessor.Simple.WithExternalAttachment A simple implementation of an accessible accessor that allows 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.AbstractBase An abstract base implementation for a virtual machine.VirtualMachine.ForHotSpot A virtual machine attachment implementation for a HotSpot VM or any compatible JVM.VirtualMachine.ForHotSpot.Connection.Factory.ForSocketFile A factory for attaching via a socket file.VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket Implements a connection for a Posix socket in JNA.VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket.Factory A factory for a POSIX socket connection to a JVM using JNA.VirtualMachine.ForHotSpot.Connection.ForJnaPosixSocket.PosixLibrary.SocketAddress Represents an address for a POSIX socket.VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor A connection to a VM using a Solaris door.VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.Factory A factory for establishing a connection to a JVM using a Solaris door in JNA.VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.Response A response from a VM using a Solaris door.VirtualMachine.ForHotSpot.Connection.ForJnaSolarisDoor.SolarisLibrary.DoorArgument A structure representing the argument to a Solaris door operation.VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe Implements a connection for a Windows named pipe in JNA.VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.Factory A factory for establishing a connection to a JVM using a named pipe in JNA.VirtualMachine.ForHotSpot.Connection.ForJnaWindowsNamedPipe.NamedPipeResponse A response that is sent via a named pipe.VirtualMachine.ForHotSpot.Connection.OnPersistentByteChannel<T> A connection that is represented by a byte channel that is persistent during communication.VirtualMachine.ForOpenJ9 A virtual machine attachment implementation for OpenJ9 or any compatible JVM.VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment A connector implementation for a POSIX environment using JNA.VirtualMachine.ForOpenJ9.Dispatcher.ForJnaPosixEnvironment.PosixLibrary.SemaphoreOperation A structure to represent a semaphore operation forsemop
.VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment A connector implementation for a Windows environment using JNA.VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.AttachmentHandle A handle for an attachment which is represented by a pair of handles.VirtualMachine.ForOpenJ9.Dispatcher.ForJnaWindowsEnvironment.WindowsLibrary.SecurityAttributes A structure representing a mutex's security attributes. -
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.ForEmulatedAttachment An attachment provider that uses Byte Buddy's attachment API emulation.ByteBuddyAgent.AttachmentProvider.ForJ9Vm An attachment provider that locates the attach API directly from the system class loader expecting an IBM J9 VM.ByteBuddyAgent.AttachmentProvider.ForModularizedVm 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.ByteBuddyAgent.AttachmentProvider.ForStandardToolsJarVm An attachment provider that is dependant on the existence of a tools.jar file on the local file system.ByteBuddyAgent.AttachmentProvider.ForUserDefinedToolsJar An attachment provider that attempts to locate atools.jar
from a custom location set via a system property.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.VirtualMachine.Resolver A resolver for the current VM's virtual machine attachment emulation.