Modifier and Type | Class and Description |
---|---|
static class |
ByteBuddyAgent.AttachmentProvider.Compound
A compound attachment provider that attempts the attachment by delegation to other providers.
|
static class |
ByteBuddyAgent.AttachmentProvider.ForJ9Vm
An attachment provider that locates the attach API directly from the system class loader expecting
an IBM J9 VM.
|
static class |
ByteBuddyAgent.AttachmentProvider.ForJigsawVm
An attachment provider that locates the attach API directly from the system class loader.
|
static class |
ByteBuddyAgent.AttachmentProvider.ForToolsJarVm
An attachment provider that is dependant on the existence of a tools.jar file on the local
file system.
|
static class |
ByteBuddyAgent.AttachmentProvider.ForUnixHotSpotVm
An attachment provider using a custom protocol implementation for HotSpot on Unix.
|
Modifier and Type | Field and Description |
---|---|
static ByteBuddyAgent.AttachmentProvider |
ByteBuddyAgent.AttachmentProvider.DEFAULT
The default attachment provider to be used.
|
Modifier and Type | Method and Description |
---|---|
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,
String processId,
String argument,
ByteBuddyAgent.AttachmentProvider attachmentProvider)
Attaches the given agent Jar on the target process which must be a virtual machine process.
|
static Instrumentation |
ByteBuddyAgent.install(ByteBuddyAgent.AttachmentProvider attachmentProvider)
Installs a Java agent using the Java attach API.
|
static Instrumentation |
ByteBuddyAgent.install(ByteBuddyAgent.AttachmentProvider attachmentProvider,
ByteBuddyAgent.ProcessProvider processProvider)
Installs a Java agent using the Java attach API.
|
Constructor and Description |
---|
Compound(ByteBuddyAgent.AttachmentProvider... attachmentProvider)
Creates a new compound attachment provider.
|
Constructor and Description |
---|
Compound(List<? extends ByteBuddyAgent.AttachmentProvider> attachmentProviders)
Creates a new compound attachment provider.
|
Copyright © 2014–2016. All rights reserved.