Package net.bytebuddy.agent
Interface ByteBuddyAgent.AttachmentProvider
-
- All Known Implementing Classes:
ByteBuddyAgent.AttachmentProvider.Compound
,ByteBuddyAgent.AttachmentProvider.ForJ9Vm
,ByteBuddyAgent.AttachmentProvider.ForJigsawVm
,ByteBuddyAgent.AttachmentProvider.ForToolsJarVm
,ByteBuddyAgent.AttachmentProvider.ForUnixHotSpotVm
- Enclosing class:
- ByteBuddyAgent
public static interface ByteBuddyAgent.AttachmentProvider
An attachment provider is responsible for making the Java attachment API available.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ByteBuddyAgent.AttachmentProvider.Accessor
An accessor for a JVM's attachment API.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.
-
Field Summary
Fields Modifier and Type Field Description static ByteBuddyAgent.AttachmentProvider
DEFAULT
The default attachment provider to be used.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ByteBuddyAgent.AttachmentProvider.Accessor
attempt()
Attempts the creation of an accessor for a specific JVM's attachment API.
-
-
-
Field Detail
-
DEFAULT
static final ByteBuddyAgent.AttachmentProvider DEFAULT
The default attachment provider to be used.
-
-
Method Detail
-
attempt
ByteBuddyAgent.AttachmentProvider.Accessor attempt()
Attempts the creation of an accessor for a specific JVM's attachment API.- Returns:
- The accessor this attachment provider can supply for the currently running JVM.
-
-